summaryrefslogtreecommitdiff
path: root/protocols/Sametime/src/files.cpp
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/src/files.cpp
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/src/files.cpp')
-rw-r--r--protocols/Sametime/src/files.cpp2
1 files changed, 1 insertions, 1 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);