diff --git a/src/rtl_tcp.c b/src/rtl_tcp.c index 42b90cb..562198f 100644 --- a/src/rtl_tcp.c +++ b/src/rtl_tcp.c @@ -394,7 +394,7 @@ int main(int argc, char **argv) void *status; struct timeval tv = {1,0}; struct linger ling = {1,0}; - SOCKET listensocket; + SOCKET listensocket = 0; socklen_t rlen; fd_set readfds; u_long blockmode = 1;