]> granicus.if.org Git - libevent/commitdiff
Fix uninitialized variables in http_bad_request_test. (oops)
authorNick Mathewson <nickm@torproject.org>
Sat, 4 Sep 2010 01:03:25 +0000 (21:03 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 4 Sep 2010 01:03:25 +0000 (21:03 -0400)
test/regress_http.c

index ca6a23e6e41b9bc2ce80f857381399c5045ba993..fcbea7258c37069c8349a808884f6cabdc3c47d2 100644 (file)
@@ -506,7 +506,7 @@ http_bad_request_test(void)
        struct bufferevent *bev = NULL;
        evutil_socket_t fd;
        const char *http_request;
-       ev_uint16_t port, port2;
+       ev_uint16_t port=0, port2=0;
 
        test_ok = 0;