From: Joe Orton Date: Tue, 9 Jun 2026 16:36:54 +0000 (+0000) Subject: * modules/filters/sed1.c (sed_eval_buffer): Mark n as const X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=27ab5180290aee410c9e0424d4a2dee2a9f3450a;p=thirdparty%2Fapache%2Fhttpd.git * modules/filters/sed1.c (sed_eval_buffer): Mark n as const to avoid compiler/scanner warnings. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1935170 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/sed1.c b/modules/filters/sed1.c index 21f6e5ec7e..21d1cc78a5 100644 --- a/modules/filters/sed1.c +++ b/modules/filters/sed1.c @@ -433,7 +433,7 @@ apr_status_t sed_eval_buffer(sed_eval_t *eval, const char *buf, apr_size_t bufsz while (bufsz) { apr_status_t rc = 0; - char *n; + const char *n; apr_size_t llen; n = memchr((char *)buf, '\n', bufsz);