diff libpurple/protocols/msn/switchboard.c @ 28528:daa709ff32e3

Properly quote the imgstore ID in the HTML for an Ink message so that the HTML logger saves it.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 02 Sep 2009 03:22:15 +0000
parents 4fb5e292de75
children dda434352a35
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c	Tue Sep 01 23:06:25 2009 +0000
+++ b/libpurple/protocols/msn/switchboard.c	Wed Sep 02 03:22:15 2009 +0000
@@ -920,7 +920,7 @@
 	}
 
 	imgid = purple_imgstore_add_with_id(image_data, image_len, NULL);
-	image_msg = g_strdup_printf("<IMG ID=%d/>", imgid);
+	image_msg = g_strdup_printf("<IMG ID='%d'/>", imgid);
 
 	if (swboard->current_users > 1 ||
 		((swboard->conv != NULL) &&