changeset 24489:f18f67d0548a

merge of '8298236e9cd6a6127656eacf513bc6928bee9065' and 'f75666909dcf5a84177e1cc50025f197341650f1'
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 23 Nov 2008 04:06:45 +0000
parents 7c09f32d01cb (diff) c26d9f806322 (current diff)
children 3f80f211417e
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	Sun Nov 23 04:06:43 2008 +0000
+++ b/libpurple/protocols/msn/notification.c	Sun Nov 23 04:06:45 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);