Mercurial > pidgin
diff libpurple/protocols/msn/notification.c @ 27115:5bc1f2ae4b19
Remove some cosmetic differences between msg_cmd() and ubm_cmd()
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 18 Jun 2009 20:37:39 +0000 |
parents | b9c64694999d |
children | 01f1929d0936 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c Thu Jun 18 19:44:02 2009 +0000 +++ b/libpurple/protocols/msn/notification.c Thu Jun 18 20:37:39 2009 +0000 @@ -327,14 +327,13 @@ /* NOTE: cmd is not always cmdproc->last_cmd, sometimes cmd is a queued * command and we are processing it */ if (cmd->payload == NULL) { - cmdproc->last_cmd->payload_cb = msg_cmd_post; + cmdproc->last_cmd->payload_cb = msg_cmd_post; cmd->payload_len = atoi(cmd->params[2]); - } else { g_return_if_fail(cmd->payload_cb != NULL); #if 0 /* glib on win32 doesn't correctly support precision modifiers for a string */ - purple_debug_info("msn", "MSG payload:{%.*s}\n", cmd->payload_len, cmd->payload); + purple_debug_info("msn", "MSG payload:{%.*s}\n", (guint)cmd->payload_len, cmd->payload); #endif cmd->payload_cb(cmdproc, cmd, cmd->payload, cmd->payload_len); }