changeset 23590:faaa1b36a9b2

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.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 14 Jul 2008 04:08:30 +0000
parents 3ca9800a9be3
children 48024418982c
files libpurple/protocols/msn/httpconn.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);