diff options
Diffstat (limited to 'protocols/MRA/src/MraFilesQueue.cpp')
-rw-r--r-- | protocols/MRA/src/MraFilesQueue.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/MRA/src/MraFilesQueue.cpp b/protocols/MRA/src/MraFilesQueue.cpp index 9ddef0f711..a69fbae0b6 100644 --- a/protocols/MRA/src/MraFilesQueue.cpp +++ b/protocols/MRA/src/MraFilesQueue.cpp @@ -385,8 +385,11 @@ bool CMraProto::MraFilesQueueHandCheck(HANDLE hConnection, MRA_FILES_QUEUE_ITEM size_t dwBuffSize;
CMStringA szEmail, szEmailMy;
- mraGetStringA(NULL, "e-mail", szEmailMy); szEmailMy.MakeLower();
- mraGetStringA(dat->hContact, "e-mail", szEmail); szEmail.MakeLower();
+ if (!mraGetStringA(NULL, "e-mail", szEmailMy) || !mraGetStringA(dat->hContact, "e-mail", szEmail))
+ return false;
+
+ szEmailMy.MakeLower();
+ szEmail.MakeLower();
if (dat->bSending == FALSE) {
// receiving
|