summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-04-19 20:30:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-04-19 20:30:02 +0300
commit86a8b98128703f60973cfa2a22e3517dc59b86c4 (patch)
tree50b86c77f86e36fa8be4672a3d235e2e39c80c09 /include
parentbd1545cafd2da7fa2ce5c64c73ec79766dc9e53c (diff)
fix for offline files processing: now we store files inside Miranda's profile instead of system temp folder
Diffstat (limited to 'include')
-rw-r--r--include/m_protosvc.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/m_protosvc.h b/include/m_protosvc.h
index e65682d949..e98a13c489 100644
--- a/include/m_protosvc.h
+++ b/include/m_protosvc.h
@@ -797,14 +797,15 @@ __forceinline INT_PTR ProtoChainRecvFile(MCONTACT hContact, PROTORECVFILE *pre)
struct OFDTHREAD
{
- __forceinline OFDTHREAD(MEVENT _1, const CMStringW &_2) :
+ __forceinline OFDTHREAD(MEVENT _1, const CMStringW &_2, bool _3) :
hDbEvent(_1),
- wszPath(_2)
+ wszPath(_2),
+ bOpen(_3)
{}
MEVENT hDbEvent;
CMStringW wszPath;
- bool bOpen = true;
+ bool bOpen;
};
///////////////////////////////////////////////////////////////////////////////