pidgin: b9e9b924: Remove some cosmetic differences between...
markdoliner at pidgin.im
markdoliner at pidgin.im
Thu Jun 18 16:40:31 EDT 2009
-----------------------------------------------------------------
Revision: b9e9b9244f65e69835c608cd945554b67749df73
Ancestor: 86bc24cd86a4fd6f763e029450f4a1d9e236a853
Author: markdoliner at pidgin.im
Date: 2009-06-18T20:37:39
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b9e9b9244f65e69835c608cd945554b67749df73
Modified files:
libpurple/protocols/msn/notification.c
ChangeLog:
Remove some cosmetic differences between msg_cmd() and ubm_cmd()
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c df344a90d4b04d169c1cf3c2294c377dcc098842
+++ libpurple/protocols/msn/notification.c 0c9adbe97dc238b16f428967acf334bdfcb82108
@@ -327,14 +327,13 @@ msg_cmd(MsnCmdProc *cmdproc, MsnCommand
/* 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);
}
More information about the Commits
mailing list