diff options
-rw-r--r-- | protocols/JabberG/src/jabber_thread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index 908773f418..d68fd7f2d4 100644 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -1985,9 +1985,10 @@ void ThreadData::close(void) void ThreadData::shutdown(void)
{
+ bShutdown = true;
+
if (s)
Netlib_Shutdown(s);
- bShutdown = true;
}
int ThreadData::recv(char* buf, size_t len)
|