summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/filetransfer.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-31 17:51:08 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-31 17:51:08 +0300
commitbdd6a8a6b981a019e6818230077567b4fb51604c (patch)
treef7d0160b8014b9ab939c280a955840323db6265f /protocols/Gadu-Gadu/src/filetransfer.cpp
parent1124c2c24cde3fffa979b5d6e483a70d3cb75063 (diff)
mir_app:
- structure renamed: PROTORECVFILET -> PROTORECVFILE; - useless service MS_PROTO_AUTHRECV removed; - Proto_AuthRecv() helper converted into a function.
Diffstat (limited to 'protocols/Gadu-Gadu/src/filetransfer.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/filetransfer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/filetransfer.cpp b/protocols/Gadu-Gadu/src/filetransfer.cpp
index b02bdfaf9d..65e3ce7a1b 100644
--- a/protocols/Gadu-Gadu/src/filetransfer.cpp
+++ b/protocols/Gadu-Gadu/src/filetransfer.cpp
@@ -390,7 +390,7 @@ void __cdecl GaduProto::dccmainthread(void*)
local_dcc->contact = (void*)getcontact(local_dcc->peer_uin, 0, 0, nullptr);
wchar_t* filenameT = mir_utf8decodeW((char*)dcc->file_info.filename);
- PROTORECVFILET pre = { 0 };
+ PROTORECVFILE pre = { 0 };
pre.dwFlags = PRFF_UNICODE;
pre.fileCount = 1;
pre.timestamp = time(nullptr);
@@ -927,7 +927,7 @@ int GaduProto::FileDeny(MCONTACT, HANDLE hTransfer, const wchar_t *)
////////////////////////////////////////////////////////////
// Called when received an file
//
-int GaduProto::RecvFile(MCONTACT hContact, PROTORECVFILET* pre)
+int GaduProto::RecvFile(MCONTACT hContact, PROTORECVFILE* pre)
{
return Proto_RecvFile(hContact, pre);
}