diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-11-10 03:17:46 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-11-10 03:17:46 +0000 |
commit | cca5b3bf138052f870cc4f6596f7bf18172e1f62 (patch) | |
tree | e8119c95034eee9151da8c3c51a493460fda2e85 /updater/socket.cpp | |
parent | 199342fe3fedbccb283b7aff006520b1181c77d4 (diff) |
Removed unneeded constantly running thread
Removed error messages if Miranda is terminated during update
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@552 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'updater/socket.cpp')
-rw-r--r-- | updater/socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/socket.cpp b/updater/socket.cpp index 745d187..0862ad8 100644 --- a/updater/socket.cpp +++ b/updater/socket.cpp @@ -159,7 +159,7 @@ bool GetFile(char *url, TCHAR *temp_folder, char *plugin_name, char *version, bo {
hNetlibHttp = NULL;
int err = GetLastError();
- if(err)
+ if (err && !Miranda_Terminated())
{
TCHAR buff[1024], *tmp;
int len = mir_sntprintf(buff, SIZEOF(buff), TranslateT("Failed to download \"%s\": "), (tmp = mir_a2t(plugin_name)));
|