changeset 21692:ef03d2f7a5a7

why do we try to set the payload length here? When we get a error from the server, this is setting the payload length to the trid, causing further mess up down the road
author Ka-Hing Cheung <khc@hxbc.us>
date Fri, 30 Nov 2007 06:54:58 +0000
parents 3ed9b027479d
children 052f5c37e881
files libpurple/protocols/msn/command.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/command.c	Fri Nov 30 03:17:07 2007 +0000
+++ b/libpurple/protocols/msn/command.c	Fri Nov 30 06:54:58 2007 +0000
@@ -117,6 +117,7 @@
 		cmd->trId = 0;
 	}
 
+	/* khc: Huh! */
 	/*add payload Length checking*/
 	msn_set_payload_len(cmd);
 	purple_debug_info("MSNP14","get payload len:%d\n",cmd->payload_len);