# HG changeset patch # User Richard Laager # Date 1180918456 0 # Node ID 425bc4362d8ccae3a1f6cc3b98a4d6fe61ebad6b # Parent 6c592bdeccc27a08149052d86fdd6fc8354cc77e Correct some useless code to do what it was supposed to do. This was noticed by o_sukhodolsky. References #1344 diff -r 6c592bdeccc2 -r 425bc4362d8c libpurple/plugins/log_reader.c --- a/libpurple/plugins/log_reader.c Mon Jun 04 00:38:12 2007 +0000 +++ b/libpurple/plugins/log_reader.c Mon Jun 04 00:54:16 2007 +0000 @@ -1500,16 +1500,15 @@ g_string_append_c(temp, *link); link++; } - if (link) { + if (*link) link++; - g_string_append(temp, "\">"); - while (*link && *link != ' ') { - g_string_append_c(temp, *link); - link++; - } - g_string_append(temp, ""); + g_string_append(temp, "\">"); + while (*link && *link != ' ') { + g_string_append_c(temp, *link); + link++; } + g_string_append(temp, ""); g_string_append(temp, link);