From 248b320bc7e6ce0cfd6621d47a95b55e2264dd23 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Jun 2012 08:05:12 +0000 Subject: sync git-svn-id: http://svn.miranda-ng.org/main/trunk@646 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Yahoo/server.cpp | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'protocols/Yahoo/server.cpp') 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"); -- cgit v1.2.3