aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/c/urweb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/urweb.c')
-rw-r--r--src/c/urweb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c
index 51a122d0..7e535122 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -3941,7 +3941,7 @@ static char *old_headers(uw_context ctx) {
if (strncasecmp(ctx->outHeaders.start, "Content-type: ", 14)) {
s = strchr(ctx->outHeaders.start, '\n');
- is_good = strncasecmp(s+1, "Content-type: ", 14);
+ is_good = !strncasecmp(s+1, "Content-type: ", 14);
} else {
s = ctx->outHeaders.start;
is_good = 1;