diff options
-rw-r--r-- | src/mir_app/src/protocols.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_app/src/protocols.cpp b/src/mir_app/src/protocols.cpp index 3ac0e4b117..f18b256ea1 100644 --- a/src/mir_app/src/protocols.cpp +++ b/src/mir_app/src/protocols.cpp @@ -109,6 +109,7 @@ MIR_APP_DLL(int) Proto_RegisterModule(PROTOCOLDESCRIPTOR *pd) return 1;
MBaseProto *p = (MBaseProto*)mir_calloc(sizeof(MBaseProto));
+ p->cbSize = pd->cbSize;
p->szName = mir_strdup(pd->szName);
p->type = pd->type;
if (pd->cbSize == sizeof(PROTOCOLDESCRIPTOR)) {
|