httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r231014 - /httpd/httpd/trunk/modules/ldap/util_ldap.c
Date Tue, 09 Aug 2005 08:21:42 GMT
Author: jorton
Date: Tue Aug  9 01:21:39 2005
New Revision: 231014

URL: http://svn.apache.org/viewcvs?rev=231014&view=rev
Log:
* modules/ldap/util_ldap.c (util_ldap_parse_cert_type): Fix gcc 4
warning "type qualifiers ignored on function return type".

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

Modified: httpd/httpd/trunk/modules/ldap/util_ldap.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/ldap/util_ldap.c?rev=231014&r1=231013&r2=231014&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ldap/util_ldap.c (original)
+++ httpd/httpd/trunk/modules/ldap/util_ldap.c Tue Aug  9 01:21:39 2005
@@ -1408,8 +1408,8 @@
  *
  * If no matches are found, APR_LDAP_CA_TYPE_UNKNOWN is returned.
  */
-static const int util_ldap_parse_cert_type(const char *type) {
-
+static int util_ldap_parse_cert_type(const char *type)
+{
     /* Authority file in binary DER format */
     if (0 == strcasecmp("CA_DER", type)) {
         return APR_LDAP_CA_TYPE_DER;



Mime
View raw message