diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-11 14:01:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-11 14:01:25 +0000 |
commit | 773421e8ba17637d994088c393d406226b516a30 (patch) | |
tree | 130c0bf529e30f493ae4f2abbe1230d31fecdeed /protocols/Yahoo/src/server.cpp | |
parent | 3fc8b6f686262e8a595fc10b2bd947526ca77bdc (diff) |
- m_hNetlibUser moved to PROTO_INTERFACE;
- unified protocol loggers
git-svn-id: http://svn.miranda-ng.org/main/trunk@6435 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/server.cpp')
-rw-r--r-- | protocols/Yahoo/src/server.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/Yahoo/src/server.cpp b/protocols/Yahoo/src/server.cpp index 329b797789..aaaac11341 100644 --- a/protocols/Yahoo/src/server.cpp +++ b/protocols/Yahoo/src/server.cpp @@ -54,7 +54,7 @@ void __cdecl CYahooProto::server_main(void *empty) NETLIBSELECTEX nls = {0};
int recvResult, ridx = 0, widx = 0, i;
- DebugLog("Server Thread Starting status: %d", status);
+ debugLogA("Server Thread Starting status: %d", status);
do_yahoo_debug=YAHOO_LOG_DEBUG;
yahoo_set_log_level(( yahoo_log_level )do_yahoo_debug);
@@ -100,13 +100,13 @@ void __cdecl CYahooProto::server_main(void *empty) }
}
- //DebugLog("[Yahoo_Server] ridx:%d widx:%d", ridx, widx);
+ //debugLogA("[Yahoo_Server] ridx:%d widx:%d", ridx, widx);
nls.hReadConns[ridx] = NULL;
nls.hWriteConns[widx] = NULL;
if (m_connections == NULL) {
- DebugLog("Last connection closed.");
+ debugLogA("Last connection closed.");
break;
}
recvResult = CallService(MS_NETLIB_SELECTEX, (WPARAM) 0, (LPARAM)&nls);
@@ -114,7 +114,7 @@ void __cdecl CYahooProto::server_main(void *empty) /* do the timer check */
if (m_id > 0) {
#ifdef HTTP_GATEWAY
- //DebugLog("HTTPGateway: %d", iHTTPGateway);
+ //debugLogA("HTTPGateway: %d", iHTTPGateway);
if (!iHTTPGateway) {
#endif
t = time(NULL);
@@ -135,7 +135,7 @@ void __cdecl CYahooProto::server_main(void *empty) #ifdef HTTP_GATEWAY
} else {
- DebugLog("[SERVER] Got packets: %d", ylad->rpkts);
+ debugLogA("[SERVER] Got packets: %d", ylad->rpkts);
if ( m_bLoggedIn && ( (ylad->rpkts > 0 && (time(NULL) - lLastSend) >=3) ||
( (time(NULL) - lLastSend) >= 13)) ) {
@@ -190,11 +190,11 @@ void __cdecl CYahooProto::server_main(void *empty) /* Check for Miranda Exit Status */
if (Miranda_Terminated()) {
- DebugLog("Miranda Exiting... stopping the loop.");
+ debugLogA("Miranda Exiting... stopping the loop.");
break;
}
}
- DebugLog("Exited loop");
+ debugLogA("Exited loop");
/* cleanup the data stuff and close our connection handles */
while(m_connections) {
@@ -217,5 +217,5 @@ void __cdecl CYahooProto::server_main(void *empty) BroadcastStatus(ID_STATUS_OFFLINE);
logoff_buddies();
- DebugLog("Server thread ending");
+ debugLogA("Server thread ending");
}
|