From: Stefan Fritsch Date: Wed, 3 Aug 2011 14:39:21 +0000 (+0000) Subject: Fix compiler warning X-Git-Tag: 2.3.15~423 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37e5132bd61d6fa60ba3b1798e30c51de863dd4e;p=apache Fix compiler warning git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1153511 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/ajp_msg.c b/modules/proxy/ajp_msg.c index 167619d399..d5f47b3210 100644 --- a/modules/proxy/ajp_msg.c +++ b/modules/proxy/ajp_msg.c @@ -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;