summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Laager <rlaager@pidgin.im>2007-06-11 17:36:40 +0000
committerRichard Laager <rlaager@pidgin.im>2007-06-11 17:36:40 +0000
commit383957a236920ba890648797419ee67a757168ec (patch)
tree0a9543d10d2d852c62840809dc1cde7d8cbccacc
parentcdd89e1b217a657efdac85d2da0ae895432a604c (diff)
downloadpidgin-383957a236920ba890648797419ee67a757168ec.tar.gz
Remove an old line of code to make this behave as desired. Good catch, Mark.
-rw-r--r--libpurple/log.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libpurple/log.c b/libpurple/log.c
index ffce4bc297..88d610ffb0 100644
--- a/libpurple/log.c
+++ b/libpurple/log.c
@@ -704,13 +704,10 @@ convert_image_tags(const PurpleLog *log, const char *msg)
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 @@ convert_image_tags(const PurpleLog *log, const char *msg)
tmp = end + 1;
}
- /* TODO: As implemented, this never happens */
if (newmsg == NULL)
{
/* No images were found to change. */