diff options
Diffstat (limited to 'test/http-parser-1.c')
-rw-r--r-- | test/http-parser-1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/http-parser-1.c b/test/http-parser-1.c index 053237a..138dc7f 100644 --- a/test/http-parser-1.c +++ b/test/http-parser-1.c @@ -3,7 +3,7 @@ * License: GPLv3 or later (see COPYING for details) */ #include "check.h" - +static struct mog_svc svc = { .persist_client = 1 }; static struct mog_http xhttp; static struct mog_http *http = &xhttp; static char *buf; @@ -21,7 +21,7 @@ static void assert_path_equal(const char *str) static void reset(void) { free(buf); - mog_http_init(http, NULL); + mog_http_init(http, &svc); } static void buf_set(const char *s) |