# HG changeset patch # User Elliott Sales de Andrade # Date 1216008510 0 # Node ID faaa1b36a9b2c92ee904914a019b0bcdbcb4b922 # Parent 3ca9800a9be3f928f2edfa288e9b77c11c1ab57a When connecting to MSN with the HTTP method, the payload length was not saved after processing a command. Since each command no longer sets the payload length in the MsnServConn explicitely, this broke things. Of course, command processing functions were never supposed to do that, so here's a fixed HTTP method that correctly saves the payload length. Fixes #6316. diff -r 3ca9800a9be3 -r faaa1b36a9b2 libpurple/protocols/msn/httpconn.c --- a/libpurple/protocols/msn/httpconn.c Mon Jul 14 03:04:03 2008 +0000 +++ b/libpurple/protocols/msn/httpconn.c Mon Jul 14 04:08:30 2008 +0000 @@ -381,6 +381,7 @@ else { msn_cmdproc_process_cmd_text(servconn->cmdproc, cur); + servconn->payload_len = servconn->cmdproc->last_cmd->payload_len; } } while (servconn->connected && servconn->rx_len > 0);