[Fedora-directory-commits] ldapserver/ldap/servers/slapd conntable.c, 1.7, 1.8

Richard Allen Megginson (rmeggins) fedora-directory-commits at redhat.com
Fri Sep 7 19:49:53 UTC 2007


Author: rmeggins

Update of /cvs/dirsec/ldapserver/ldap/servers/slapd
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17132/ldapserver/ldap/servers/slapd

Modified Files:
	conntable.c 
Log Message:
Resolves: bug 244475
Bug Description: crash at startup with new ldap sdk on 64-bit platform
Reviewed by: nkinder (Thanks!)
Fix Description: Use LBER_SOCKET as the socket type instead of int.  There was also a place in ldclt where we were doing the same thing.
Platforms tested: RHEL5 x86_64
Flag Day: no
Doc impact: no



Index: conntable.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/conntable.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- conntable.c	10 Nov 2006 23:45:40 -0000	1.7
+++ conntable.c	7 Sep 2007 19:49:51 -0000	1.8
@@ -62,7 +62,7 @@
 	 */
 	for ( i = 0; i < table_size; i++ )
 	{
-		int	invalid_socket;
+		LBER_SOCKET invalid_socket;
 		ber_len_t maxbersize = config_get_maxbersize();
 		/* DBDB---move this out of here once everything works */
 		ct->c[i].c_sb = ber_sockbuf_alloc();




More information about the Fedora-directory-commits mailing list