httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r153390 - in httpd/httpd/trunk: include/util_ldap.h modules/ldap/util_ldap.c
Date Fri, 11 Feb 2005 12:22:17 GMT
Author: jorton
Date: Fri Feb 11 04:22:16 2005
New Revision: 153390

URL: http://svn.apache.org/viewcvs?view=rev&rev=153390
Log:
* include/util_ldap.h (util_ldap_state_t): Fix gcc format string
warnings: use a long for connectionTimeout since the code expects a
long.

* modules/ldap/util_ldap.c (compare_client_certs): Make static to fix
gcc missing-prototype warning.

Modified:
    httpd/httpd/trunk/include/util_ldap.h
    httpd/httpd/trunk/modules/ldap/util_ldap.c

Modified: httpd/httpd/trunk/include/util_ldap.h
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/include/util_ldap.h?view=diff&r1=153389&r2=153390
==============================================================================
--- httpd/httpd/trunk/include/util_ldap.h (original)
+++ httpd/httpd/trunk/include/util_ldap.h Fri Feb 11 04:22:16 2005
@@ -129,7 +129,7 @@
     /* cache ald */
     void *util_ldap_cache;
     char *lock_file;           /* filename for shm lock mutex */
-    int connectionTimeout;
+    long  connectionTimeout;
 
 } util_ldap_state_t;
 

Modified: httpd/httpd/trunk/modules/ldap/util_ldap.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/ldap/util_ldap.c?view=diff&r1=153389&r2=153390
==============================================================================
--- httpd/httpd/trunk/modules/ldap/util_ldap.c (original)
+++ httpd/httpd/trunk/modules/ldap/util_ldap.c Fri Feb 11 04:22:16 2005
@@ -367,8 +367,8 @@
  *
  * Returns 1 on compare failure, 0 otherwise.
  */
-int compare_client_certs(apr_array_header_t *srcs, apr_array_header_t *dests) {
-
+static int compare_client_certs(apr_array_header_t *srcs, apr_array_header_t *dests)
+{
     int i = 0;
     struct apr_ldap_opt_tls_cert_t *src, *dest;
 



Mime
View raw message