]> granicus.if.org Git - apache/commitdiff
Fix compiler warning
authorStefan Fritsch <sf@apache.org>
Wed, 3 Aug 2011 14:39:21 +0000 (14:39 +0000)
committerStefan Fritsch <sf@apache.org>
Wed, 3 Aug 2011 14:39:21 +0000 (14:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1153511 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/ajp_msg.c

index 167619d399f71e0e1aae6990a07cd8237be7cbfe..d5f47b32109d5e88802169396179d866bc8adb9c 100644 (file)
@@ -125,7 +125,7 @@ apr_status_t ajp_msg_log(request_rec *r, ajp_msg_t *msg, char *err)
         }
         rc = ajp_msg_dump(r->pool, msg, err, count, &buf);
         if (rc == APR_SUCCESS) {
-            while ((next = ap_strchr_c(buf, '\n'))) {
+            while ((next = ap_strchr(buf, '\n'))) {
                 *next = '\0';
                 ap_log_rerror(APLOG_MARK, level, 0, r, "%s", buf);
                 buf = next + 1;