diff options
author | 2007-07-23 22:31:21 +0000 | |
---|---|---|
committer | 2007-07-23 22:31:21 +0000 | |
commit | d765549e7c24f8374002df2c2110418a9c0eff98 (patch) | |
tree | c7c4fc382b1e9043d56993b385418ae890f40345 /usr.sbin/httpd/src | |
parent | There seems to be enough room for rl(4) after all. (diff) | |
download | wireguard-openbsd-d765549e7c24f8374002df2c2110418a9c0eff98.tar.xz wireguard-openbsd-d765549e7c24f8374002df2c2110418a9c0eff98.zip |
fix a variable shadowing problem
PR5549, From: veins@evilkittens.org
Diffstat (limited to 'usr.sbin/httpd/src')
-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; |