changeset 32500:ad8d32ec1afe

Fix indices for client capabilities and display pics.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 06 Feb 2012 23:08:34 +0000
parents 585447a5f83c
children b9ae9bcf252d
files libpurple/protocols/msn/notification.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Mon Feb 06 22:28:41 2012 +0000
+++ b/libpurple/protocols/msn/notification.c	Mon Feb 06 23:08:34 2012 +0000
@@ -1273,9 +1273,9 @@
 		msn_update_contact(session, passport, MSN_UPDATE_DISPLAY, friendly);
 	}
 
-	if (cmd->param_count == 6)
+	if (cmd->param_count == 5)
 	{
-		msnobj = msn_object_new_from_string(purple_url_decode(cmd->params[5]));
+		msnobj = msn_object_new_from_string(purple_url_decode(cmd->params[4]));
 		msn_user_set_object(user, msnobj);
 	}
 	else
@@ -1283,7 +1283,7 @@
 		msn_user_set_object(user, NULL);
 	}
 
-	clientid = strtoul(cmd->params[4], &extcap_str, 10);
+	clientid = strtoul(cmd->params[3], &extcap_str, 10);
 	if (extcap_str && *extcap_str)
 		extcaps = strtoul(extcap_str+1, NULL, 10);
 	else