diff options
-rw-r--r-- | usr.sbin/httpd/src/modules/standard/mod_mime_magic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/httpd/src/modules/standard/mod_mime_magic.c b/usr.sbin/httpd/src/modules/standard/mod_mime_magic.c index bb1ce2b1921..8121e59aafa 100644 --- a/usr.sbin/httpd/src/modules/standard/mod_mime_magic.c +++ b/usr.sbin/httpd/src/modules/standard/mod_mime_magic.c @@ -933,11 +933,11 @@ static int apprentice(server_rec *s, pool *p) /* parse it */ for (lineno = 1; fgets(line, sizeof(line), f) != NULL; lineno++) { int ws_offset; - char *p; + char *pl; /* delete newline */ - if ((p = strchr(line, '\n')) != NULL) - *p = '\0'; + if ((pl = strchr(line, '\n')) != NULL) + *pl = '\0'; /* skip leading whitespace */ ws_offset = 0; |