diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-05-29 19:25:37 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-05-29 19:25:37 +0000 |
commit | 7f1d386e9e6cba684127089cfdd58591c7854b9b (patch) | |
tree | 9c97e491aa44bf57aee86efefcf9d2323d5de6ba /plugins/PluginUpdater | |
parent | ab941675529590a76c5874ebc550b14c9ad1dbd7 (diff) |
Fixed Logging
git-svn-id: http://svn.miranda-ng.org/main/trunk@9362 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater')
-rw-r--r-- | plugins/PluginUpdater/src/Utils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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);
|