Mercurial > pidgin
diff libpurple/protocols/msn/notification.c @ 24505:dc7942955a7a
Cleaned up version of 2f409bcdde5ebbb1edf097aeb4b4366d7c71518d:
Mark added a workaround for not having enough parameters in this command.
However, according to msnpiki and his backtraces, the index was just wrong.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 23 Nov 2008 22:29:41 +0000 |
parents | 3d942f1b72aa |
children | e344426d7c28 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c Sun Nov 23 21:57:52 2008 +0000 +++ b/libpurple/protocols/msn/notification.c Sun Nov 23 22:29:41 2008 +0000 @@ -491,7 +491,7 @@ * command and we are processing it */ if (cmd->payload == NULL) { cmdproc->last_cmd->payload_cb = msg_cmd_post; - cmd->payload_len = atoi(cmd->params[4]); + cmd->payload_len = atoi(cmd->params[3]); } else { g_return_if_fail(cmd->payload_cb != NULL);