diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-31 17:51:08 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-31 17:51:08 +0300 |
commit | bdd6a8a6b981a019e6818230077567b4fb51604c (patch) | |
tree | f7d0160b8014b9ab939c280a955840323db6265f /protocols/Sametime | |
parent | 1124c2c24cde3fffa979b5d6e483a70d3cb75063 (diff) |
mir_app:
- structure renamed: PROTORECVFILET -> PROTORECVFILE;
- useless service MS_PROTO_AUTHRECV removed;
- Proto_AuthRecv() helper converted into a function.
Diffstat (limited to 'protocols/Sametime')
-rw-r--r-- | protocols/Sametime/src/files.cpp | 2 | ||||
-rw-r--r-- | protocols/Sametime/src/sametime_proto.cpp | 2 | ||||
-rw-r--r-- | protocols/Sametime/src/sametime_proto.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Sametime/src/files.cpp b/protocols/Sametime/src/files.cpp index 6d4813dbca..dd85be9e64 100644 --- a/protocols/Sametime/src/files.cpp +++ b/protocols/Sametime/src/files.cpp @@ -38,7 +38,7 @@ void mwFileTransfer_offered(mwFileTransfer* ft) } else
wcsncpy_s(descriptionT, filenameT, _TRUNCATE);
- PROTORECVFILET pre = {0};
+ PROTORECVFILE pre = {0};
pre.dwFlags = PRFF_UNICODE;
pre.fileCount = 1;
pre.timestamp = time(nullptr);
diff --git a/protocols/Sametime/src/sametime_proto.cpp b/protocols/Sametime/src/sametime_proto.cpp index 3fb384cb38..9adfa781f7 100644 --- a/protocols/Sametime/src/sametime_proto.cpp +++ b/protocols/Sametime/src/sametime_proto.cpp @@ -181,7 +181,7 @@ HWND CSametimeProto::CreateExtendedSearchUI(HWND owner) }
-int CSametimeProto::RecvFile(MCONTACT hContact, PROTORECVFILET* pre)
+int CSametimeProto::RecvFile(MCONTACT hContact, PROTORECVFILE* pre)
{
debugLogW(L"CSametimeProto::RecvFile() hContact=[%x]", hContact);
diff --git a/protocols/Sametime/src/sametime_proto.h b/protocols/Sametime/src/sametime_proto.h index f822118c88..92170d575e 100644 --- a/protocols/Sametime/src/sametime_proto.h +++ b/protocols/Sametime/src/sametime_proto.h @@ -29,7 +29,7 @@ struct CSametimeProto : public PROTO<CSametimeProto> virtual HWND __cdecl SearchAdvanced(HWND owner);
virtual HWND __cdecl CreateExtendedSearchUI(HWND owner);
- virtual int __cdecl RecvFile(MCONTACT hContact, PROTORECVFILET*);
+ virtual int __cdecl RecvFile(MCONTACT hContact, PROTORECVFILE*);
virtual int __cdecl RecvMsg(MCONTACT hContact, PROTORECVEVENT*);
virtual HANDLE __cdecl SendFile(MCONTACT hContact, const wchar_t* szDescription, wchar_t** ppszFiles);
|