# HG changeset patch # User Elliott Sales de Andrade # Date 1218255894 0 # Node ID 38c76b5b846b10e95f2a07d5ae2159bb1dcbf288 # Parent e8f75e7502601feaff5db9a40a2e1a9c3a4239c6 Correctly save the payload_len of a MSN notification command. Also, turn on the debug message, just so we know it works. Fixes #6543. diff -r e8f75e750260 -r 38c76b5b846b libpurple/protocols/msn/notification.c --- a/libpurple/protocols/msn/notification.c Fri Aug 08 05:51:53 2008 +0000 +++ b/libpurple/protocols/msn/notification.c Sat Aug 09 04:24:54 2008 +0000 @@ -1166,14 +1166,14 @@ { #if 0 MSN_SET_PARAMS("NOT %d\r\n%s", cmdproc->servconn->payload, payload); +#endif purple_debug_misc("msn", "Notification: {%s}\n", payload); -#endif } static void not_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd) { - cmdproc->servconn->payload_len = atoi(cmd->params[0]); + cmd->payload_len = atoi(cmd->params[0]); cmdproc->last_cmd->payload_cb = not_cmd_post; }