From a11fa565fdafe698269bc02aaa3231e6854fd835 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 10 Jun 2020 22:14:23 +0300 Subject: useless check removed --- protocols/NewsAggregator/Src/Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/NewsAggregator/Src/Utils.cpp b/protocols/NewsAggregator/Src/Utils.cpp index 43928d098c..c64981e58f 100644 --- a/protocols/NewsAggregator/Src/Utils.cpp +++ b/protocols/NewsAggregator/Src/Utils.cpp @@ -94,7 +94,7 @@ void GetNewsData(wchar_t *tszUrl, char **szData, MCONTACT hContact, CFeedEditor else if (nlhrReply->resultCode == 401) { Netlib_LogfW(hNetlibUser, L"Code 401: feed %s needs auth data.", tszUrl); - if (CAuthRequest(pEditDlg, hContact).DoModal() == IDOK) + if (CAuthRequest(pEditDlg, hContact).DoModal()) GetNewsData(tszUrl, szData, hContact, pEditDlg); } else Netlib_LogfW(hNetlibUser, L"Code %d: Failed getting feed data %s.", nlhrReply->resultCode, tszUrl); -- cgit v1.2.3