diff src/protocols/oscar/oscar.c @ 13600:e1c81d199ee0

[gaim-migrate @ 15986] Rewrote oscar's incoming direct IM handler to make it more a bit less fragile if the format of the incoming IM ever changes. For example, now the binary chunks can be in a different order than the img tags committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 09 Apr 2006 21:37:12 +0000
parents 4d8927a4f1ef
children 009a1e608419
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sun Apr 09 18:29:27 2006 +0000
+++ b/src/protocols/oscar/oscar.c	Sun Apr 09 21:37:12 2006 +0000
@@ -1841,7 +1841,6 @@
 	gchar *tmp;
 	aim_mpmsg_section_t *curpart;
 	const char *start;
-	const char *end;
 	GData *attribs;
 
 	gaim_debug_misc("oscar", "Received IM from %s with %d parts\n",
@@ -1937,7 +1936,7 @@
 	/*
 	 * Convert iChat color tags to normal font tags.
 	 */
-	if (gaim_markup_find_tag("body", tmp, &start, &end, &attribs))
+	if (gaim_markup_find_tag("body", tmp, &start, NULL, &attribs))
 	{
 		const char *ichattextcolor, *ichatballooncolor;