summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Gadu-Gadu/src/core.cpp2
-rw-r--r--protocols/Gadu-Gadu/src/filetransfer.cpp2
-rw-r--r--protocols/IRCG/src/commandmonitor.cpp2
-rw-r--r--protocols/JabberG/src/jabber_iq_handlers.cpp2
-rw-r--r--protocols/Sametime/src/files.cpp2
-rw-r--r--protocols/Tox/src/tox_transfer.cpp2
6 files changed, 6 insertions, 6 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;
diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp
index 9eb66f8aaa..974aba88ac 100644
--- a/protocols/IRCG/src/commandmonitor.cpp
+++ b/protocols/IRCG/src/commandmonitor.cpp
@@ -1140,7 +1140,7 @@ bool CIrcProto::IsCTCP(const CIrcMessage *pmsg)
const wchar_t* tszTemp = sFile;
- PROTORECVFILE pre = { 0 };
+ PROTORECVFILE pre = {};
pre.dwFlags = PRFF_UNICODE;
pre.timestamp = (uint32_t)time(0);
pre.fileCount = 1;
diff --git a/protocols/JabberG/src/jabber_iq_handlers.cpp b/protocols/JabberG/src/jabber_iq_handlers.cpp
index bf9f7ad573..2c3b25b90c 100644
--- a/protocols/JabberG/src/jabber_iq_handlers.cpp
+++ b/protocols/JabberG/src/jabber_iq_handlers.cpp
@@ -320,7 +320,7 @@ bool CJabberProto::OnIqRequestOOB(const TiXmlElement*, CJabberIqInfo *pInfo)
else
str2 = ft->httpPath;
- PROTORECVFILE pre;
+ PROTORECVFILE pre = {};
pre.timestamp = time(0);
pre.descr.a = desc;
pre.files.a = &str2;
diff --git a/protocols/Sametime/src/files.cpp b/protocols/Sametime/src/files.cpp
index 8d81a8133c..ba14846747 100644
--- a/protocols/Sametime/src/files.cpp
+++ b/protocols/Sametime/src/files.cpp
@@ -36,7 +36,7 @@ void mwFileTransfer_offered(mwFileTransfer* ft)
else
strncpy_s(description, filename, _TRUNCATE);
- PROTORECVFILE pre = {0};
+ PROTORECVFILE pre = {};
pre.fileCount = 1;
pre.timestamp = time(0);
pre.descr.a = description;
diff --git a/protocols/Tox/src/tox_transfer.cpp b/protocols/Tox/src/tox_transfer.cpp
index 60dd99364f..11b9c993bc 100644
--- a/protocols/Tox/src/tox_transfer.cpp
+++ b/protocols/Tox/src/tox_transfer.cpp
@@ -52,7 +52,7 @@ void CToxProto::OnFriendFile(Tox *tox, uint32_t friendNumber, uint32_t fileNumbe
transfer->pfts.hContact = hContact;
proto->transfers.Add(transfer);
- PROTORECVFILE pre = { 0 };
+ PROTORECVFILE pre = {};
pre.dwFlags = PRFF_UNICODE;
pre.fileCount = 1;
pre.timestamp = now();