diff --git a/src/rtl_tcp.c b/src/rtl_tcp.c index d0e22ef..915a8fe 100644 --- a/src/rtl_tcp.c +++ b/src/rtl_tcp.c @@ -276,7 +276,7 @@ struct command{ #endif static void *command_worker(void *arg) { - int left, received; + int left, received = 0; fd_set readfds; struct command cmd={0, 0}; struct timeval tv= {1, 0};