diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-07 13:51:02 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-07 13:51:02 +0000 |
commit | 9a6b8b3ae092b384abe12e54b7efbad2fb921bb6 (patch) | |
tree | f05be26adb9ca034a2d2149ce23deb65a4e68457 | |
parent | aa37ee0e038cda34271e6b4a13815087cb9d295d (diff) |
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
-rw-r--r-- | plugins/NewsAggregator/Src/Utils.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
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);
}
|