Bring back reset of g_ssl on reset_state()

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1719 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Henrik Andersson 2013-06-20 11:10:24 +00:00
parent 8200b5bbd4
commit dc3be1486d

6
tcp.c
View File

@ -123,6 +123,9 @@ tcp_send(STREAM s)
int length = s->end - s->data;
int sent, total = 0;
if (g_network_error)
return;
#ifdef WITH_SCARD
scard_lock(SCARD_LOCK_TCP);
#endif
@ -192,6 +195,9 @@ tcp_recv(STREAM s, uint32 length)
uint32 new_length, end_offset, p_offset;
int rcvd = 0, ssl_err;
if (g_network_error)
return NULL;
if (s == NULL)
{
/* read into "new" stream */