diff src/util.c @ 5289:cfbd0cb3f18b

[gaim-migrate @ 5661] this implements the receiving side of JEP-0008 (User Avatars) which most Gaim users know better as Buddy Icons. Only one client I know of actually sends them, and it's on windows. This doesn't handle multiple resources right, but I'll fix that after my exam. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 03 May 2003 16:08:46 +0000
parents 60983a46700e
children 6dfcd7dbecde
line wrap: on
line diff
--- a/src/util.c	Sat May 03 06:37:29 2003 +0000
+++ b/src/util.c	Sat May 03 16:08:46 2003 +0000
@@ -430,6 +430,9 @@
 			tmp = 62;
 		} else if (*c == '/') {
 			tmp = 63;
+		} else if (*c == '\r' || *c == '\n') {
+			c++;
+			continue;
 		} else if (*c == '=') {
 			if (n == 3) {
 				out = g_realloc(out, len + 2);