summaryrefslogtreecommitdiff
path: root/protocols/Sametime
diff options
context:
space:
mode:
authorSzymon Tokarz <wsx22@o2.pl>2016-01-17 20:31:03 +0000
committerSzymon Tokarz <wsx22@o2.pl>2016-01-17 20:31:03 +0000
commit0ab0b9e140e47ddaa248e569665abe76378595db (patch)
treea06ab7f3785035a4c9215fb57479669a59ffd1e1 /protocols/Sametime
parent68950d0db0727da3da65f03c43a06668d0d12229 (diff)
Sametime protocol:
- fix at files transfer closing (thx Wishmaster) git-svn-id: http://svn.miranda-ng.org/main/trunk@16115 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Sametime')
-rw-r--r--protocols/Sametime/src/files.cpp2
-rw-r--r--protocols/Sametime/src/version.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Sametime/src/files.cpp b/protocols/Sametime/src/files.cpp
index f0df47200d..4782563a7e 100644
--- a/protocols/Sametime/src/files.cpp
+++ b/protocols/Sametime/src/files.cpp
@@ -167,7 +167,7 @@ void mwFileTransfer_closed(mwFileTransfer* ft, guint32 code)
FileTransferClientData *ftcd_temp = ftcd_next->next;
if (ftcd_next->hFile != INVALID_HANDLE_VALUE)
- CloseHandle(ftcd->hFile);
+ CloseHandle(ftcd_next->hFile);
if (ftcd_next->save_path)
free(ftcd_next->save_path);
diff --git a/protocols/Sametime/src/version.h b/protocols/Sametime/src/version.h
index 8f6582afa0..cfeabffec6 100644
--- a/protocols/Sametime/src/version.h
+++ b/protocols/Sametime/src/version.h
@@ -1,7 +1,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 7
#define __RELEASE_NUM 0
-#define __BUILD_NUM 4
+#define __BUILD_NUM 5
#include <stdver.h>