[Fedora-directory-commits] ldapserver/ldap/servers/plugins/passthru ptconfig.c, 1.6, 1.7

Nathan Kinder (nkinder) fedora-directory-commits at redhat.com
Fri Sep 28 22:46:52 UTC 2007


Author: nkinder

Update of /cvs/dirsec/ldapserver/ldap/servers/plugins/passthru
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4136

Modified Files:
	ptconfig.c 
Log Message:
Resolves: 197997
Summary: Fixed PTA config parsing to use a comma delimiter instread of a space.



Index: ptconfig.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/plugins/passthru/ptconfig.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ptconfig.c	10 Nov 2006 23:45:04 -0000	1.6
+++ ptconfig.c	28 Sep 2007 22:46:50 -0000	1.7
@@ -134,7 +134,7 @@
 	srvr = (PassThruServer *)slapi_ch_calloc( 1, sizeof( PassThruServer ));
 	srvr->ptsrvr_url = slapi_ch_strdup( argv[i] );
 
-	if (( p = strchr( srvr->ptsrvr_url, ' ' )) == NULL ) {
+	if (( p = strchr( srvr->ptsrvr_url, ',' )) == NULL ) {
 	    /*
 	     * use defaults for maxconnections, maxconcurrency, timeout,
 	     * LDAP version, and connlifetime.




More information about the Fedora-directory-commits mailing list