diff options
author | George Hazan <george.hazan@gmail.com> | 2024-11-14 17:32:44 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-11-14 17:32:44 +0300 |
commit | f9d4be52548544305949dffedddc0d2044bdc45d (patch) | |
tree | ea24d3683c7e1e82d4ef7a4282337f5bacac6e96 /include | |
parent | efc8291dafe68435480bb5dd378cf26ee62d042f (diff) |
fix for possible crash fix
Diffstat (limited to 'include')
-rw-r--r-- | include/m_protosvc.h | 3 |
1 files changed, 2 insertions, 1 deletions
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;
|