summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraMPop.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-09 15:12:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-09 15:12:22 +0000
commitfaf22fc165caf88e561b78752aab4a1704c89086 (patch)
treeeced99885a9e49e2dc093df2e25e8a3a2cc8225e /protocols/MRA/src/MraMPop.cpp
parent30eda997b099947ea38c17d547950edc4a5af8eb (diff)
- fix for moving contact to another group;
- home made debug functions replaced with their CRT analogs git-svn-id: http://svn.miranda-ng.org/main/trunk@6417 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraMPop.cpp')
-rw-r--r--protocols/MRA/src/MraMPop.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/protocols/MRA/src/MraMPop.cpp b/protocols/MRA/src/MraMPop.cpp
index d2e5506f6d..022ede41e2 100644
--- a/protocols/MRA/src/MraMPop.cpp
+++ b/protocols/MRA/src/MraMPop.cpp
@@ -112,15 +112,12 @@ DWORD CMraProto::MraMPopSessionQueueAddUrlAndEMail(HANDLE hMPopSessionQueue, con
DWORD CMraProto::MraMPopSessionQueueStart(HANDLE hMPopSessionQueue)
{
- DWORD dwRetErrorCode;
-
if (!hMPopSessionQueue)
return ERROR_INVALID_HANDLE;
MRA_MPOP_SESSION_QUEUE *pmpsqMPopSessionQueue = (MRA_MPOP_SESSION_QUEUE*)hMPopSessionQueue;
MRA_MPOP_SESSION_QUEUE_ITEM *pmpsqi;
- dwRetErrorCode = NO_ERROR;
if (pmpsqMPopSessionQueue->bKeyValid == TRUE)
if ( FifoMTItemPop(pmpsqMPopSessionQueue, NULL, (LPVOID*)&pmpsqi) == NO_ERROR) {
CMStringA szUrl, szEmail;
@@ -129,8 +126,7 @@ DWORD CMraProto::MraMPopSessionQueueStart(HANDLE hMPopSessionQueue)
szEmail.MakeLower();
szUrl.Format(MRA_MPOP_AUTH_URL, szEmail, pmpsqMPopSessionQueue->lpszMPOPKey, pmpsqi->lpszUrl);
CallService(MS_UTILS_OPENURL, TRUE, (LPARAM)szUrl.c_str());
- DebugPrint(_T("Opening URL: "));
- DebugPrintCRLFA(szUrl);
+ DebugLogA("Opening URL: %s\n", szUrl);
}
mir_free(pmpsqi);
}
@@ -153,9 +149,6 @@ DWORD MraMPopSessionQueueSetNewMPopKey(HANDLE hMPopSessionQueue, const CMStringA
pmpsqMPopSessionQueue->dwMPOPKeySize = szKey.GetLength();
memmove(pmpsqMPopSessionQueue->lpszMPOPKey, szKey, szKey.GetLength());
(*(pmpsqMPopSessionQueue->lpszMPOPKey + szKey.GetLength())) = 0;
-
- DebugPrint(_T("New MPOP session key: "));
- DebugPrintCRLFA(pmpsqMPopSessionQueue->lpszMPOPKey);
return NO_ERROR;
}