summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu')
-rw-r--r--protocols/Gadu-Gadu/src/core.cpp2
-rw-r--r--protocols/Gadu-Gadu/src/filetransfer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/core.cpp b/protocols/Gadu-Gadu/src/core.cpp
index 19735b87e2..08e31d7e23 100644
--- a/protocols/Gadu-Gadu/src/core.cpp
+++ b/protocols/Gadu-Gadu/src/core.cpp
@@ -1033,7 +1033,7 @@ retry:
const char *fileName = (const char*)dcc7->filename;
- PROTORECVFILE pre = { 0 };
+ PROTORECVFILE pre = {};
pre.fileCount = 1;
pre.timestamp = time(0);
pre.descr.a = fileName;
diff --git a/protocols/Gadu-Gadu/src/filetransfer.cpp b/protocols/Gadu-Gadu/src/filetransfer.cpp
index 291929a2da..2ee8642021 100644
--- a/protocols/Gadu-Gadu/src/filetransfer.cpp
+++ b/protocols/Gadu-Gadu/src/filetransfer.cpp
@@ -367,7 +367,7 @@ void __cdecl GaduProto::dccmainthread(void*)
local_dcc->contact = (void*)getcontact(local_dcc->peer_uin, 0, 0, nullptr);
const char *pszFileName = (const char *)m_dcc->file_info.filename;
- PROTORECVFILE pre = { 0 };
+ PROTORECVFILE pre = {};
pre.fileCount = 1;
pre.timestamp = time(0);
pre.descr.a = pszFileName;