comparison libpurple/util.c @ 27356:6aa7772c4cc1

disapproval of revision '3fe037ee4d003527c8f4f41974e01680d5eea27e'
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 04 Jul 2009 01:14:03 +0000
parents 33734bb78c9f
children e8ac5369d567
comparison
equal deleted inserted replaced
27355:33734bb78c9f 27356:6aa7772c4cc1
3795 char *s = data; 3795 char *s = data;
3796 3796
3797 while (*s) { 3797 while (*s) {
3798 /* Read the size of this chunk */ 3798 /* Read the size of this chunk */
3799 if (sscanf(s, "%" G_GSIZE_MODIFIER "x\r\n", &sz) != 1 && 3799 if (sscanf(s, "%" G_GSIZE_MODIFIER "x\r\n", &sz) != 1 &&
3800 sscanf(s, "%" G_GSIZE_MODIFIER "x;\r\n", &sz) != 1) 3800 sscanf(s, "%" G_GSIZE_MODIFIER "x;", &sz) != 1)
3801 { 3801 {
3802 purple_debug_error("util", "Error processing chunked data: " 3802 purple_debug_error("util", "Error processing chunked data: "
3803 "Expected data length, found: %s\n", s); 3803 "Expected data length, found: %s\n", s);
3804 break; 3804 break;
3805 } 3805 }