# HG changeset patch # User Elliott Sales de Andrade # Date 1227413097 0 # Node ID 7c09f32d01cba2ce87749c9b17a2095700255339 # Parent caf82c1cebf2ceda1a5af7dd4681aac543bfa882 disapproval of revision '050e412d19af350e54a9105f34339a2690d8fc08' diff -r caf82c1cebf2 -r 7c09f32d01cb libpurple/protocols/msn/notification.c --- a/libpurple/protocols/msn/notification.c Tue Nov 18 07:16:49 2008 +0000 +++ b/libpurple/protocols/msn/notification.c Sun Nov 23 04:04:57 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 = cmd->param_count >= 4 ? atoi(cmd->params[4]) : 0; + cmd->payload_len = atoi(cmd->params[4]); } else { g_return_if_fail(cmd->payload_cb != NULL);