# HG changeset patch # User Ka-Hing Cheung # Date 1196405698 0 # Node ID ef03d2f7a5a7e6e700a78caeaa86233c5d4ac376 # Parent 3ed9b027479d72a06617f951dd473c8fb46fae79 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 diff -r 3ed9b027479d -r ef03d2f7a5a7 libpurple/protocols/msn/command.c --- 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);