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
This commit is contained in:
Henrik Andersson 2013-08-10 16:16:55 +00:00
parent 9de4e9eda5
commit be5ae57fe0

2
tcp.c
View File

@ -193,7 +193,7 @@ tcp_recv(STREAM s, uint32 length)
int rcvd = 0, ssl_err; int rcvd = 0, ssl_err;
if (g_network_error == True) if (g_network_error == True)
return; return NULL;
if (s == NULL) if (s == NULL)
{ {