summaryrefslogtreecommitdiff
path: root/src/c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c')
-rw-r--r--src/c/Makefile.am2
-rw-r--r--src/c/Makefile.in2
-rw-r--r--src/c/urweb.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/c/Makefile.am b/src/c/Makefile.am
index 613c2452..04fe6bf0 100644
--- a/src/c/Makefile.am
+++ b/src/c/Makefile.am
@@ -6,4 +6,4 @@ liburweb_cgi_la_SOURCES = cgi.c
liburweb_fastcgi_la_SOURCES = fastcgi.c
AM_CPPFLAGS = -I../../include @OPENSSL_INCLUDES@
-AM_CFLAGS = -Wimplicit -Wall -Werror
+AM_CFLAGS = -Wimplicit -Wall -Werror -Wno-format-security
diff --git a/src/c/Makefile.in b/src/c/Makefile.in
index b13b94f9..ad8c1115 100644
--- a/src/c/Makefile.in
+++ b/src/c/Makefile.in
@@ -237,7 +237,7 @@ liburweb_http_la_SOURCES = http.c
liburweb_cgi_la_SOURCES = cgi.c
liburweb_fastcgi_la_SOURCES = fastcgi.c
AM_CPPFLAGS = -I../../include @OPENSSL_INCLUDES@
-AM_CFLAGS = -Wimplicit -Wall -Werror
+AM_CFLAGS = -Wimplicit -Wall -Werror -Wno-format-security
all: all-am
.SUFFIXES:
diff --git a/src/c/urweb.c b/src/c/urweb.c
index 3213d044..b653390a 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -829,7 +829,7 @@ static input *check_input_space(uw_context ctx, size_t len) {
r = &ctx->subinputs[ctx->used_subinputs];
for (i = 0; i < len; ++i)
- ctx->subinputs[ctx->used_subinputs++].kind = UNUSED;
+ ctx->subinputs[ctx->used_subinputs++].kind = UNSET;
return r;
}