changeset 24488:7c09f32d01cb

disapproval of revision '050e412d19af350e54a9105f34339a2690d8fc08'
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 23 Nov 2008 04:04:57 +0000
parents caf82c1cebf2
children f18f67d0548a
files libpurple/protocols/msn/notification.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);