From be5ae57fe0566c15a10ea38b3243d54d3ae119e9 Mon Sep 17 00:00:00 2001 From: Henrik Andersson Date: Sat, 10 Aug 2013 16:16:55 +0000 Subject: [PATCH] Return a NULL value as expected. Partly fix for bug #366 git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1728 423420c4-83ab-492f-b58f-81f9feb106b5 --- tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {