comparison libpurple/protocols/msn/command.c @ 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 d91c76c76da8
children 04edbd747947
comparison
equal deleted inserted replaced
21691:3ed9b027479d 21692:ef03d2f7a5a7
115 else 115 else
116 { 116 {
117 cmd->trId = 0; 117 cmd->trId = 0;
118 } 118 }
119 119
120 /* khc: Huh! */
120 /*add payload Length checking*/ 121 /*add payload Length checking*/
121 msn_set_payload_len(cmd); 122 msn_set_payload_len(cmd);
122 purple_debug_info("MSNP14","get payload len:%d\n",cmd->payload_len); 123 purple_debug_info("MSNP14","get payload len:%d\n",cmd->payload_len);
123 124
124 msn_command_ref(cmd); 125 msn_command_ref(cmd);