diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-29 16:01:48 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-29 16:01:48 +0300 |
commit | 2bfaad4e1e3a2aea665bc5b3d70b3a249c01b257 (patch) | |
tree | 1cc53b34fd40f366e8967891ae185656df8007e2 | |
parent | 43fc37b844a3c9f32a2fda3fda751bbfdaa6a911 (diff) |
fixes #1229 (Cannot create new account)
-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)) {
|