From b693c324cac8efe637dc344ece6bac83ac55c199 Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Mon, 11 Apr 2011 17:32:03 +0200 Subject: [PATCH] Actually send NULL request in http_bad_request_test Issue caught by clang's static analyzer --- test/regress_http.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/regress_http.c b/test/regress_http.c index a7a14301..62516b60 100644 --- a/test/regress_http.c +++ b/test/regress_http.c @@ -570,6 +570,8 @@ http_bad_request_test(void *arg) /* real NULL request */ http_request = ""; + bufferevent_write(bev, http_request, strlen(http_request)); + shutdown(fd, SHUT_WR); timerclear(&tv); tv.tv_usec = 10000; -- 2.40.0