From 7f1d386e9e6cba684127089cfdd58591c7854b9b Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 29 May 2014 19:25:37 +0000 Subject: Fixed Logging git-svn-id: http://svn.miranda-ng.org/main/trunk@9362 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/PluginUpdater/src/Utils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp index 5cf508dbbb..962e181230 100644 --- a/plugins/PluginUpdater/src/Utils.cpp +++ b/plugins/PluginUpdater/src/Utils.cpp @@ -344,7 +344,8 @@ bool DownloadFile(FILEURL *pFileURL, HANDLE &nlc) nlc = NULL; } } - Netlib_LogfT(hNetlibUser,_T("Downloading file %s failed, giving up"),pFileURL->tszDownloadURL); + if(!ret) + Netlib_LogfT(hNetlibUser,_T("Downloading file %s failed, giving up"),pFileURL->tszDownloadURL); mir_free(szUrl); mir_free(nlhr.headers); -- cgit v1.2.3