pidgin: 79758530: Correctly save the payload_len of a MSN ...

qulogic at pidgin.im qulogic at pidgin.im
Sat Aug 9 00:30:59 EDT 2008


-----------------------------------------------------------------
Revision: 79758530b2d043ca03126b97fdcf3f5b004fb3f1
Ancestor: 26606a5b2701a5b005448d15da254ecd796a005d
Author: qulogic at pidgin.im
Date: 2008-08-09T04:24:54
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/79758530b2d043ca03126b97fdcf3f5b004fb3f1

Modified files:
        libpurple/protocols/msn/notification.c

ChangeLog: 

Correctly save the payload_len of a MSN notification command. Also, 
turn on the debug message, just so we know it works.

Fixes #6543.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c	d04af228d355cc0eebcf7bcef9edfb8c2f3cc895
+++ libpurple/protocols/msn/notification.c	96687bfc5c801987b3bbadc6c06e4a0f97ef2cd7
@@ -1166,14 +1166,14 @@ not_cmd_post(MsnCmdProc *cmdproc, MsnCom
 {
 #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;
 }
 


More information about the Commits mailing list