summaryrefslogtreecommitdiffstats
path: root/src/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http.c')
-rw-r--r--src/http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http.c b/src/http.c
index f14c722..70cc2b9 100644
--- a/src/http.c
+++ b/src/http.c
@@ -74,6 +74,7 @@ int _read(struct mansession *s, struct message *m) {
memset(method, 0, sizeof method);
memset(formdata, 0, sizeof formdata);
+ memset(header, 0, sizeof header);
/* for http, don't do get_input forever */
for (;;) {