summaryrefslogtreecommitdiff
path: root/src/c/cgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/cgi.c')
-rw-r--r--src/c/cgi.c2
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"))