mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
Actually send NULL request in http_bad_request_test
Issue caught by clang's static analyzer
This commit is contained in:
parent
3819b62cea
commit
b693c324ca
@ -570,6 +570,8 @@ http_bad_request_test(void *arg)
|
|||||||
/* real NULL request */
|
/* real NULL request */
|
||||||
http_request = "";
|
http_request = "";
|
||||||
|
|
||||||
|
bufferevent_write(bev, http_request, strlen(http_request));
|
||||||
|
|
||||||
shutdown(fd, SHUT_WR);
|
shutdown(fd, SHUT_WR);
|
||||||
timerclear(&tv);
|
timerclear(&tv);
|
||||||
tv.tv_usec = 10000;
|
tv.tv_usec = 10000;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user