diff options
author | George Hazan <ghazan@miranda.im> | 2022-06-16 21:58:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-06-16 21:58:55 +0300 |
commit | aa37139121fccf4d304cc07d546b2b96ebe6dbcb (patch) | |
tree | a8ff27ad47bf7861497e6230e3e502713cd40b68 /protocols/GmailNotifier/src | |
parent | 734822b2e08cb153b6b067a8c1970bb0dfe58e95 (diff) |
minor code cleaning
Diffstat (limited to 'protocols/GmailNotifier/src')
-rw-r--r-- | protocols/GmailNotifier/src/check.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/protocols/GmailNotifier/src/check.cpp b/protocols/GmailNotifier/src/check.cpp index 8013b560e7..fab62e5283 100644 --- a/protocols/GmailNotifier/src/check.cpp +++ b/protocols/GmailNotifier/src/check.cpp @@ -117,12 +117,11 @@ void CheckMailInbox(Account *curAcc) (nlr.resultCode == 401) ? Translate("Wrong name or password!") : Translate("Can't get RSS feed!")); curAcc->results_num = -1; - curAcc->IsChecking = false; - return; } - - curAcc->results_num = ParsePage(nlu->pData, &curAcc->results); - mir_snprintf(curAcc->results.content, "%s [%d]", szNick.get(), curAcc->results_num); + else { + curAcc->results_num = ParsePage(nlu->pData, &curAcc->results); + mir_snprintf(curAcc->results.content, "%s [%d]", szNick.get(), curAcc->results_num); + } curAcc->IsChecking = false; } |