--- a/libpurple/log.c Mon Jun 11 07:48:49 2007 +0000 +++ b/libpurple/log.c Mon Jun 11 17:36:40 2007 +0000 @@ -704,13 +704,10 @@ tmp = msg; - newmsg = g_string_new(""); - while (purple_markup_find_tag("img", tmp, &start, &end, &attributes)) { int imgid = 0; char *idstr = NULL; - /* TODO: As implemented, this never happens */ if (newmsg == NULL) newmsg = g_string_new(""); @@ -783,7 +780,6 @@ tmp = end + 1; } - /* TODO: As implemented, this never happens */ if (newmsg == NULL) { /* No images were found to change. */