From 9a6b8b3ae092b384abe12e54b7efbad2fb921bb6 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 7 Dec 2014 13:51:02 +0000 Subject: NewsAggregator: not need show auth form when no connection git-svn-id: http://svn.miranda-ng.org/main/trunk@11263 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewsAggregator/Src/Utils.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'plugins') diff --git a/plugins/NewsAggregator/Src/Utils.cpp b/plugins/NewsAggregator/Src/Utils.cpp index d7a66a4788..7788ed4a18 100644 --- a/plugins/NewsAggregator/Src/Utils.cpp +++ b/plugins/NewsAggregator/Src/Utils.cpp @@ -117,14 +117,8 @@ void GetNewsData(TCHAR *tszUrl, char **szData, MCONTACT hContact, HWND hwndDlg) Netlib_LogfT(hNetlibUser,_T("Code %d: Failed getting feed data %s."), nlhrReply->resultCode, tszUrl); CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)nlhrReply); } - else { + else Netlib_LogfT(hNetlibUser,_T("Failed getting feed data %s, no response."), tszUrl); - ItemInfo SelItem = {0}; - SelItem.hwndList = hwndDlg; - SelItem.hContact = hContact; - if (DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_AUTHENTICATION), hwndDlg, AuthenticationProc, (LPARAM)&SelItem) == IDOK) - GetNewsData(tszUrl, szData, hContact, hwndDlg); - } mir_free(szUrl); } -- cgit v1.2.3