summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/import.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/src/import.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/import.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/protocols/Gadu-Gadu/src/import.cpp b/protocols/Gadu-Gadu/src/import.cpp
index 4e1f2ae72c..7c28acd9df 100644
--- a/protocols/Gadu-Gadu/src/import.cpp
+++ b/protocols/Gadu-Gadu/src/import.cpp
@@ -109,7 +109,7 @@ char *gg_makecontacts(GGPROTO *gg, int cr)
contacts = string_free(s, 0);
#ifdef DEBUGMODE
- gg->netlog("gg_makecontacts(): \n%s", contacts);
+ gg->debugLogA("gg_makecontacts(): \n%s", contacts);
#endif
return contacts;
@@ -212,7 +212,7 @@ void GGPROTO::parsecontacts(char *contacts)
{
HANDLE hContact = getcontact(uin, 1, 1, _A2T(strNick));
#ifdef DEBUGMODE
- netlog("parsecontacts(): Found contact %d with nickname \"%s\".", uin, strNick);
+ debugLogA("parsecontacts(): Found contact %d with nickname \"%s\".", uin, strNick);
#endif
// Write group
if (hContact && strGroup) {
@@ -287,7 +287,7 @@ INT_PTR GGPROTO::import_server(WPARAM wParam, LPARAM lParam)
gg_LeaveCriticalSection(&sess_mutex, "import_server", 65, 1, "sess_mutex", 1);
mir_sntprintf(error, SIZEOF(error), TranslateT("List cannot be imported because of error:\n\t%s (Error: %d)"), _tcserror(errno), errno);
MessageBox(NULL, error, m_tszUserName, MB_OK | MB_ICONSTOP);
- netlog("import_server(): Cannot import list. errno:%d: %s", errno, strerror(errno));
+ debugLogA("import_server(): Cannot import list. errno:%d: %s", errno, strerror(errno));
}
gg_LeaveCriticalSection(&sess_mutex, "import_server", 65, 2, "sess_mutex", 1);
free(password);
@@ -334,7 +334,7 @@ INT_PTR GGPROTO::remove_server(WPARAM wParam, LPARAM lParam)
gg_LeaveCriticalSection(&sess_mutex, "remove_server", 66, 1, "sess_mutex", 1);
mir_sntprintf(error, SIZEOF(error), TranslateT("List cannot be removed because of error: %s (Error: %d)"), _tcserror(errno), errno);
MessageBox(NULL, error, m_tszUserName, MB_OK | MB_ICONSTOP);
- netlog("remove_server(): Cannot remove list. errno=%d: %s", errno, strerror(errno));
+ debugLogA("remove_server(): Cannot remove list. errno=%d: %s", errno, strerror(errno));
}
gg_LeaveCriticalSection(&sess_mutex, "remove_server", 66, 2, "sess_mutex", 1);
@@ -386,7 +386,7 @@ INT_PTR GGPROTO::import_text(WPARAM wParam, LPARAM lParam)
ofn.lpstrDefExt = _T("txt");
#ifdef DEBUGMODE
- netlog("import_text()");
+ debugLogA("import_text()");
#endif
if (!GetOpenFileName(&ofn)) return 0;
@@ -408,7 +408,7 @@ INT_PTR GGPROTO::import_text(WPARAM wParam, LPARAM lParam)
TCHAR error[256];
mir_sntprintf(error, SIZEOF(error), TranslateT("List cannot be imported from file \"%s\" because of error:\n\t%s (Error: %d)"), str, _tcserror(errno), errno);
MessageBox(NULL, error, m_tszUserName, MB_OK | MB_ICONSTOP);
- netlog("import_text(): Cannot import list from file \"%S\". errno=%d: %s", str, errno, strerror(errno));
+ debugLogA("import_text(): Cannot import list from file \"%S\". errno=%d: %s", str, errno, strerror(errno));
}
return 0;
@@ -451,7 +451,7 @@ INT_PTR GGPROTO::export_text(WPARAM wParam, LPARAM lParam)
ofn.lpstrDefExt = _T("txt");
#ifdef DEBUGMODE
- netlog("export_text(%S).", str);
+ debugLogA("export_text(%S).", str);
#endif
if (!GetSaveFileName(&ofn)) return 0;
@@ -469,7 +469,7 @@ INT_PTR GGPROTO::export_text(WPARAM wParam, LPARAM lParam)
TCHAR error[128];
mir_sntprintf(error, SIZEOF(error), TranslateT("List cannot be exported to file \"%s\" because of error:\n\t%s (Error: %d)"), str, _tcserror(errno), errno);
MessageBox(NULL, error, m_tszUserName, MB_OK | MB_ICONSTOP);
- netlog("export_text(): Cannot export list to file \"%s\". errno=%d: %s", str, errno, strerror(errno));
+ debugLogA("export_text(): Cannot export list to file \"%s\". errno=%d: %s", str, errno, strerror(errno));
}
return 0;
@@ -507,7 +507,7 @@ INT_PTR GGPROTO::export_server(WPARAM wParam, LPARAM lParam)
char *contacts = gg_makecontacts(this, 1);
#ifdef DEBUGMODE
- netlog("export_server(): gg_userlist_request(%s).", contacts);
+ debugLogA("export_server(): gg_userlist_request(%s).", contacts);
#endif
gg_EnterCriticalSection(&sess_mutex, "export_server", 67, "sess_mutex", 1);
@@ -517,7 +517,7 @@ INT_PTR GGPROTO::export_server(WPARAM wParam, LPARAM lParam)
gg_LeaveCriticalSection(&sess_mutex, "export_server", 67, 1, "sess_mutex", 1);
mir_sntprintf(error, SIZEOF(error), TranslateT("List cannot be exported because of error:\n\t%s (Error: %d)"), _tcserror(errno), errno);
MessageBox(NULL, error, m_tszUserName, MB_OK | MB_ICONSTOP);
- netlog("export_server(): Cannot export list. errno=%d: %s", errno, strerror(errno));
+ debugLogA("export_server(): Cannot export list. errno=%d: %s", errno, strerror(errno));
}
gg_LeaveCriticalSection(&sess_mutex, "export_server", 67, 2, "sess_mutex", 1);