summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/server.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-27 08:05:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-27 08:05:12 +0000
commit248b320bc7e6ce0cfd6621d47a95b55e2264dd23 (patch)
tree5735f77b447dc0c1f41b9f1960dd4751cc6a0f83 /protocols/Yahoo/server.cpp
parent939b54967dcda681318271d203eedd1dcf5ce934 (diff)
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@646 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/server.cpp')
-rw-r--r--protocols/Yahoo/server.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/protocols/Yahoo/server.cpp b/protocols/Yahoo/server.cpp
index 0a6886e037..34ccfe8dc3 100644
--- a/protocols/Yahoo/server.cpp
+++ b/protocols/Yahoo/server.cpp
@@ -111,12 +111,6 @@ void __cdecl CYahooProto::server_main(void *empty)
}
recvResult = CallService(MS_NETLIB_SELECTEX, (WPARAM) 0, (LPARAM)&nls);
- /* Check for Miranda Exit Status */
- if (Miranda_Terminated()) {
- DebugLog("Miranda Exiting... stopping the loop.");
- break;
- }
-
/* do the timer check */
if (m_id > 0) {
#ifdef HTTP_GATEWAY
@@ -190,12 +184,15 @@ void __cdecl CYahooProto::server_main(void *empty)
}
} // if c->fd == nls
}// for i = 0
-
}
-
-
+
}// for l=connections
+ /* Check for Miranda Exit Status */
+ if (Miranda_Terminated()) {
+ DebugLog("Miranda Exiting... stopping the loop.");
+ break;
+ }
}
DebugLog("Exited loop");