svn commit: r1935170 - httpd/httpd/trunk/modules/filters
[email protected] Tue, 09 Jun 2026 16:36:55 -0000
| Newsgroups | gmane.comp.apache.cvs |
|---|---|
| Message-ID | <178102301516.267203.4690193443416648518@svn03-he-fi> |
Author: jorton
Date: Tue Jun 9 16:36:54 2026
New Revision: 1935170
Log:
* modules/filters/sed1.c (sed_eval_buffer): Mark n as const
to avoid compiler/scanner warnings.
Modified:
httpd/httpd/trunk/modules/filters/sed1.c
Modified: httpd/httpd/trunk/modules/filters/sed1.c
==============================================================================
--- httpd/httpd/trunk/modules/filters/sed1.c Tue Jun 9 15:56:12 2026 (r1935169)
+++ httpd/httpd/trunk/modules/filters/sed1.c Tue Jun 9 16:36:54 2026 (r1935170)
@@ -433,7 +433,7 @@ apr_status_t sed_eval_buffer(sed_eval_t
while (bufsz) {
apr_status_t rc = 0;
- char *n;
+ const char *n;
apr_size_t llen;
n = memchr((char *)buf, '\n', bufsz);