Skip to content

Commit

Permalink
Actually send NULL request in http_bad_request_test
Browse files Browse the repository at this point in the history
Issue caught by clang's static analyzer
  • Loading branch information
shahn committed Apr 23, 2011
1 parent 3819b62 commit b693c32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/regress_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b693c32

Please sign in to comment.