changeset 27279:fe242dec0d50

merge of '3fe037ee4d003527c8f4f41974e01680d5eea27e' and 'c75c4072b910c269873d22b25bb5639d85bb1b9b'
author Mark Doliner <mark@kingant.net>
date Sat, 04 Jul 2009 01:07:26 +0000
parents 33734bb78c9f (diff) 979031db48c1 (current diff)
children 660cf341992f
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/util.c	Sat Jul 04 01:06:23 2009 +0000
+++ b/libpurple/util.c	Sat Jul 04 01:07:26 2009 +0000
@@ -3797,7 +3797,7 @@
 	while (*s) {
 		/* Read the size of this chunk */
 		if (sscanf(s, "%" G_GSIZE_MODIFIER "x\r\n", &sz) != 1 &&
-			sscanf(s, "%" G_GSIZE_MODIFIER "x;", &sz) != 1)
+			sscanf(s, "%" G_GSIZE_MODIFIER "x;\r\n", &sz) != 1)
 		{
 			purple_debug_error("util", "Error processing chunked data: "
 					"Expected data length, found: %s\n", s);