Mercurial > pidgin.yaz
changeset 8926:8ef82d89faf3
[gaim-migrate @ 9696]
" Crash fix when getting certain commands from server
(NOT and IPG)" --Felipe Contreras
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 13 May 2004 17:26:51 +0000 |
parents | 577c76e1442d |
children | 5dd21fa59de3 |
files | src/protocols/msn/notification.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/notification.c Thu May 13 17:25:37 2004 +0000 +++ b/src/protocols/msn/notification.c Thu May 13 17:26:51 2004 +0000 @@ -767,7 +767,7 @@ ipg_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd) { cmdproc->payload_cb = NULL; - cmdproc->servconn->payload_len = atoi(cmd->params[2]); + cmdproc->servconn->payload_len = atoi(cmd->params[0]); } static void @@ -1180,7 +1180,7 @@ not_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd) { cmdproc->payload_cb = NULL; - cmdproc->servconn->payload_len = atoi(cmd->params[1]); + cmdproc->servconn->payload_len = atoi(cmd->params[0]); } static void