summaryrefslogtreecommitdiff
path: root/protocols/GmailNotifier
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/GmailNotifier')
-rw-r--r--protocols/GmailNotifier/src/check.cpp9
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;
}