summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/main.cpp')
-rw-r--r--protocols/SkypeWeb/src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/main.cpp b/protocols/SkypeWeb/src/main.cpp
index 73613c972d..ce02a8ea26 100644
--- a/protocols/SkypeWeb/src/main.cpp
+++ b/protocols/SkypeWeb/src/main.cpp
@@ -62,7 +62,8 @@ extern "C" int __declspec(dllexport) Load(void)
CallService(MS_SYSTEM_GETVERSIONTEXT, sizeof(g_szMirVer), LPARAM(g_szMirVer));
- PROTOCOLDESCRIPTOR pd = { sizeof(pd) };
+ PROTOCOLDESCRIPTOR pd = { 0 };
+ pd.cbSize = sizeof(pd);
pd.szName = "SKYPE";
pd.type = PROTOTYPE_PROTOCOL;
pd.fnInit = (pfnInitProto)CSkypeProto::InitAccount;