httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r761085 - /httpd/httpd/trunk/modules/proxy/mod_serf.c
Date Wed, 01 Apr 2009 22:10:31 GMT
Author: trawick
Date: Wed Apr  1 22:10:30 2009
New Revision: 761085

URL: http://svn.apache.org/viewvc?rev=761085&view=rev
Log:
ap_strchr_p() is the one that takes (protects) a const char *

Modified:
    httpd/httpd/trunk/modules/proxy/mod_serf.c

Modified: httpd/httpd/trunk/modules/proxy/mod_serf.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_serf.c?rev=761085&r1=761084&r2=761085&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_serf.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_serf.c Wed Apr  1 22:10:30 2009
@@ -638,7 +638,7 @@
 
     for (i = 1; i < argc; i++) {
         const char *p = argv[i];
-        const char *x = ap_strchr(p, '=');
+        const char *x = ap_strchr_c(p, '=');
         
         if (x) {
             char *key = apr_pstrndup(cmd->pool, p, x-p);
@@ -690,7 +690,7 @@
 
     for (i = 2; i < argc; i++) {
         const char *p = argv[i];
-        const char *x = ap_strchr(p, '=');
+        const char *x = ap_strchr_c(p, '=');
 
         if (x && strlen(p) > 1) {
             apr_table_addn(cluster->params,



Mime
View raw message