]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/filters/sed1.c (sed_eval_buffer): Mark n as const
authorJoe Orton <jorton@apache.org>
Tue, 9 Jun 2026 16:36:54 +0000 (16:36 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 9 Jun 2026 16:36:54 +0000 (16:36 +0000)
  to avoid compiler/scanner warnings.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1935170 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/sed1.c

index 21f6e5ec7e2f347b49dbcd6636ba00b1915c1b08..21d1cc78a50b813ceaf3ba64384dbe7b5e0fa072 100644 (file)
@@ -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);