changeset 10718:56f1c92b943f

[gaim-migrate @ 12315] sf patch #1169415, from Eitan Isaacson "This fixes the msn http method" I didn't test this at all. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 24 Mar 2005 04:09:46 +0000
parents 75427cc95dfd
children 1da76f22c750
files src/protocols/msn/httpconn.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/httpconn.c	Tue Mar 22 16:32:33 2005 +0000
+++ b/src/protocols/msn/httpconn.c	Thu Mar 24 04:09:46 2005 +0000
@@ -641,8 +641,8 @@
 	if ((s = strstr(buf, "\r\n\r\n")) == NULL)
 		return FALSE;
 
+	s += 4; /* Skip \r\n */
 	header = g_strndup(buf, s - buf);
-	s += 4; /* Skip \r\n */
 	body_start = s;
 	body_len = size - (body_start - buf);