httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1416889 - /httpd/httpd/trunk/modules/mappers/mod_imagemap.c
Date Tue, 04 Dec 2012 11:24:07 GMT
Author: fuankg
Date: Tue Dec  4 11:24:06 2012
New Revision: 1416889

URL: http://svn.apache.org/viewvc?rev=1416889&view=rev
Log:
Fixed type mismatch.

Modified:
    httpd/httpd/trunk/modules/mappers/mod_imagemap.c

Modified: httpd/httpd/trunk/modules/mappers/mod_imagemap.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_imagemap.c?rev=1416889&r1=1416888&r2=1416889&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_imagemap.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_imagemap.c Tue Dec  4 11:24:06 2012
@@ -323,7 +323,7 @@ static char *imap_url(request_rec *r, co
     char *string_pos = NULL;
     const char *string_pos_const = NULL;
     char *directory = NULL;
-    const char *referer = NULL;
+    char *referer = NULL;
     char *my_base;
 
     if (!strcasecmp(value, "map") || !strcasecmp(value, "menu")) {
@@ -336,7 +336,7 @@ static char *imap_url(request_rec *r, co
     }
 
     if (!strcasecmp(value, "referer")) {
-        referer = apr_table_get(r->headers_in, "Referer");
+        referer = (char *)apr_table_get(r->headers_in, "Referer");
         if (referer && *referer) {
             return referer;
         }



Mime
View raw message