diff options
-rw-r--r-- | plugins/NewsAggregator/Src/Utils.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/NewsAggregator/Src/Utils.cpp b/plugins/NewsAggregator/Src/Utils.cpp index 88b7a800fd..74e801c198 100644 --- a/plugins/NewsAggregator/Src/Utils.cpp +++ b/plugins/NewsAggregator/Src/Utils.cpp @@ -165,6 +165,10 @@ VOID GetNewsData(TCHAR *tszUrl, char **szData, HANDLE hContact, HWND hwndDlg) (*szData)[nlhrReply->dataLength] = 0;
}
CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)nlhrReply);
+ } else {
+ if (nlhr.resultCode == 401) {
+ //запросить ввести логин и пароль и снова попытаться скачать
+ }
}
mir_free(szUrl);
mir_free(nlhr.headers);
|