Mon, 14 Jul 2008 04:08:30 +0000
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.
| libpurple/protocols/msn/httpconn.c | file | annotate | diff | comparison | revisions |
--- 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);