From f9d4be52548544305949dffedddc0d2044bdc45d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 14 Nov 2024 17:32:44 +0300 Subject: fix for possible crash fix --- include/m_protosvc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_protosvc.h b/include/m_protosvc.h index 2178655aaf..95914f26b7 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -724,13 +724,14 @@ __forceinline INT_PTR ProtoChainRecvFile(MCONTACT hContact, const DB::FILE_BLOB struct MIR_APP_EXPORT OFDTHREAD : public MNonCopyable { - OFDTHREAD(MEVENT hDbEvent, const CMStringW &path, int iCommand); + OFDTHREAD(MCONTACT, MEVENT hDbEvent, const CMStringW &path, int iCommand); ~OFDTHREAD(); void Finish(); void ResetFileName(const wchar_t *pwszNewName); MEVENT hDbEvent; + MCONTACT hContact; MFilePath wszPath; struct OFD_Callback *pCallback = nullptr; uint32_t dwTimestamp = 0; -- cgit v1.2.3