You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2005/08/09 10:21:42 UTC

svn commit: r231014 - /httpd/httpd/trunk/modules/ldap/util_ldap.c

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;