summaryrefslogtreecommitdiff
path: root/extra/rdesktop/rdesktop-tcp.patch
blob: f20182978767d53ddd10639e698cb0ece1762747 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/rdesktop/trunk/tcp.c
+++ b/rdesktop/trunk/tcp.c
@@ -193,7 +193,7 @@
 	int rcvd = 0, ssl_err;
 
 	if (g_network_error == True)
-		return;
+		return NULL;
 
 	if (s == NULL)
 	{