changeset 24422:606d3194f92b

Counting is for dummies
author Mark Doliner <mark@kingant.net>
date Tue, 18 Nov 2008 23:34:14 +0000
parents 3d6fe79753c3
children 88955b918197 f7674c9c2646
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:32:23 2008 +0000
+++ b/libpurple/protocols/msn/notification.c	Tue Nov 18 23:34:14 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 = cmd->param_count >= 5 ? atoi(cmd->params[4]) : 0;
 	} else {
 		g_return_if_fail(cmd->payload_cb != NULL);