httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [PATCH] fix util_ldap with older OpenLDAPs
Date Wed, 03 Aug 2005 17:47:27 GMT
At 12:24 PM 8/3/2005, Brad Nicholes wrote:
>The correct code should be:
>
>Index: util_ldap.c
>===================================================================
>--- util_ldap.c (revision 226877)
>+++ util_ldap.c (working copy)
>@@ -325,7 +325,7 @@
>         }
> 
>         if (st->connectionTimeout >= 0) {
>-            rc = ldap_set_option(NULL, LDAP_OPT_NETWORK_TIMEOUT, (void
>*)&timeOut);
>+            rc = ldap_set_option(ldc->ldap, LDAP_OPT_NETWORK_TIMEOUT,
>(void *)&timeOut);
>             if (APR_SUCCESS != rc) {
>                 ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,
>                                  "LDAP: Could not set the connection
>timeout" );

+1 to committing this fix.



Mime
View raw message