pidgin: f0388e54: Fix indices for client capabilities and ...
qulogic at pidgin.im
qulogic at pidgin.im
Mon Feb 6 18:15:53 EST 2012
----------------------------------------------------------------------
Revision: f0388e54998489dbe4b6133796f77459f20fe884
Parent: d036ab77d7427e7c652b235f4263d5b51cbd921a
Author: qulogic at pidgin.im
Date: 02/06/12 18:08:34
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f0388e54998489dbe4b6133796f77459f20fe884
Changelog:
Fix indices for client capabilities and display pics.
Changes against parent d036ab77d7427e7c652b235f4263d5b51cbd921a
patched libpurple/protocols/msn/notification.c
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c 52a01d0d5b1491a19c5d2b18371b2f2f99ddc263
+++ libpurple/protocols/msn/notification.c cceb9a499212be11045f9638719c8a924080f5b7
@@ -1273,9 +1273,9 @@ nln_cmd(MsnCmdProc *cmdproc, MsnCommand
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 @@ nln_cmd(MsnCmdProc *cmdproc, MsnCommand
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
More information about the Commits
mailing list