Changeset 002fede


Ignore:
Timestamp:
2015-04-11T18:20:31Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
5fbf815
Parents:
e59eec0
git-author:
dequis <dx@…> (19-03-15 18:05:17)
git-committer:
dequis <dx@…> (11-04-15 18:20:31)
Message:

msn: handle NOT command payload length

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/ns.c

    re59eec0 r002fede  
    336336                        handler->msglen = atoi(cmd[3]);
    337337                }
     338        } else if (strcmp(cmd[0], "NOT") == 0) {
     339                if (num_parts >= 2) {
     340                        handler->msglen = atoi(cmd[1]);
     341                }
    338342        } else if (strcmp(cmd[0], "QNG") == 0) {
    339343                ic->flags |= OPT_PONGED;
Note: See TracChangeset for help on using the changeset viewer.