From 0ab0b9e140e47ddaa248e569665abe76378595db Mon Sep 17 00:00:00 2001 From: Szymon Tokarz Date: Sun, 17 Jan 2016 20:31:03 +0000 Subject: 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 --- protocols/Sametime/src/files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Sametime/src/files.cpp') 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); -- cgit v1.2.3