X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72041ceca262d33763df632bd57b97bc8718740c..77611ad4da9df336a0805508276a81b8f4437107:/src/unix/gsocket.c diff --git a/src/unix/gsocket.c b/src/unix/gsocket.c index ce7cf36299..a43156c9a5 100644 --- a/src/unix/gsocket.c +++ b/src/unix/gsocket.c @@ -201,7 +201,7 @@ void GSocket_Shutdown(GSocket *socket) for (evt = 0; evt < GSOCK_MAX_EVENT; evt++) socket->m_cbacks[evt] = NULL; - socket->m_detected = 0; + socket->m_detected = GSOCK_LOST_FLAG; _GSocket_Disable_Events(socket); }