diff --git a/tcp.c b/tcp.c index a541e45..aca789a 100644 --- a/tcp.c +++ b/tcp.c @@ -193,7 +193,7 @@ tcp_recv(STREAM s, uint32 length) int rcvd = 0, ssl_err; if (g_network_error == True) - return; + return NULL; if (s == NULL) {