diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-18 23:04:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-18 23:04:26 +0300 |
commit | abf8cd813bb0ac4f4f5451d2af929279d816abac (patch) | |
tree | 4fb7451f2f99fac23a9f891c1aa9dc9fe6e0f8c6 /plugins/CrashDumper/src/dumper.cpp | |
parent | 9ffe3c7ba4eb7011279e14ff1c5b5357bf874114 (diff) |
core changes:
- PROTOCOLDESCRIPTOR's implementation hidden inside mir_app;
- Proto_RegisterModule now doesn't need a PROTOCOLDESCRIPTOR structure;
- PROTOTYPE_PROTOWITHACCS type added for protos that work with accounts
Diffstat (limited to 'plugins/CrashDumper/src/dumper.cpp')
-rw-r--r-- | plugins/CrashDumper/src/dumper.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/CrashDumper/src/dumper.cpp b/plugins/CrashDumper/src/dumper.cpp index f3c32a4037..1eb4113e24 100644 --- a/plugins/CrashDumper/src/dumper.cpp +++ b/plugins/CrashDumper/src/dumper.cpp @@ -283,8 +283,11 @@ static void GetProtocolStrings(CMStringW &buffer) char **protoListMy = (char**)alloca((protoCount + accCount) * sizeof(char*));
for (int i = 0; i < protoCount; i++)
- if (protoList[i]->type == PROTOTYPE_PROTOCOL)
+ switch (protoList[i]->type) {
+ case PROTOTYPE_PROTOCOL:
+ case PROTOTYPE_PROTOWITHACCS:
protoListMy[protoCountMy++] = protoList[i]->szName;
+ }
for (int j = 0; j < accCount; j++) {
int i;
|