diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-01-28 13:32:26 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-01-28 13:32:26 -0500 |
commit | cd705bdc5bb77787ffe3aba6788e361ededc424f (patch) | |
tree | 57ac3fd1704bcdc98acf576d907d19c473bade0e /src/c/cgi.c | |
parent | 4a4e8f051883b59d8c64aa01ccf8befb66139c89 (diff) |
Switch to gcc -Wall
Diffstat (limited to 'src/c/cgi.c')
-rw-r--r-- | src/c/cgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/cgi.c b/src/c/cgi.c index 91b22f06..98ad7479 100644 --- a/src/c/cgi.c +++ b/src/c/cgi.c @@ -28,7 +28,7 @@ static char *get_header(void *data, const char *h) { *s++ = *h == '-' ? '_' : toupper(*h); *s = 0; - if (r = getenv(uppercased)) + if ((r = getenv(uppercased))) return r; else if (!strcasecmp(saved_h, "Content-length") || !strcasecmp(saved_h, "Content-type")) |