Actually send NULL request in http_bad_request_test

Issue caught by clang's static analyzer
This commit is contained in:
Sebastian Hahn 2011-04-11 17:32:03 +02:00
parent 3819b62cea
commit b693c324ca

View File

@ -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;