diff options
Diffstat (limited to 'protocols/JabberG/src/jabber.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp index 055d67929d..7eae1eb6d4 100644 --- a/protocols/JabberG/src/jabber.cpp +++ b/protocols/JabberG/src/jabber.cpp @@ -233,8 +233,7 @@ extern "C" int __declspec(dllexport) Load() pcli = (CLIST_INTERFACE*)CallService(MS_CLIST_RETRIEVE_INTERFACE, 0, (LPARAM)hInst);
// Register protocol module
- PROTOCOLDESCRIPTOR pd = { 0 };
- pd.cbSize = sizeof(PROTOCOLDESCRIPTOR);
+ PROTOCOLDESCRIPTOR pd = { sizeof(pd) };
pd.szName = "JABBER";
pd.fnInit = (pfnInitProto)jabberProtoInit;
pd.fnUninit = (pfnUninitProto)jabberProtoUninit;
|