From aa37139121fccf4d304cc07d546b2b96ebe6dbcb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 16 Jun 2022 21:58:55 +0300 Subject: minor code cleaning --- protocols/GmailNotifier/src/check.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'protocols/GmailNotifier') 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; } -- cgit v1.2.3