Mercurial > pidgin
changeset 23680:38c76b5b846b
Correctly save the payload_len of a MSN notification command. Also,
turn on the debug message, just so we know it works.
Fixes #6543.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 09 Aug 2008 04:24:54 +0000 |
parents | e8f75e750260 |
children | 7cb8e04bca7a |
files | libpurple/protocols/msn/notification.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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; }