Mercurial > pidgin.yaz
comparison libpurple/plugins/log_reader.c @ 17682:425bc4362d8c
Correct some useless code to do what it was supposed to do. This was
noticed by o_sukhodolsky.
References #1344
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 04 Jun 2007 00:54:16 +0000 |
parents | 6c592bdeccc2 |
children | 8622d1233e0a |
comparison
equal
deleted
inserted
replaced
17681:6c592bdeccc2 | 17682:425bc4362d8c |
---|---|
1498 | 1498 |
1499 while (*link && *link != ')') { | 1499 while (*link && *link != ')') { |
1500 g_string_append_c(temp, *link); | 1500 g_string_append_c(temp, *link); |
1501 link++; | 1501 link++; |
1502 } | 1502 } |
1503 if (link) { | 1503 if (*link) |
1504 link++; | 1504 link++; |
1505 | 1505 |
1506 g_string_append(temp, "\">"); | 1506 g_string_append(temp, "\">"); |
1507 while (*link && *link != ' ') { | 1507 while (*link && *link != ' ') { |
1508 g_string_append_c(temp, *link); | 1508 g_string_append_c(temp, *link); |
1509 link++; | 1509 link++; |
1510 } | |
1511 g_string_append(temp, "</a>"); | |
1512 } | 1510 } |
1511 g_string_append(temp, "</a>"); | |
1513 | 1512 |
1514 g_string_append(temp, link); | 1513 g_string_append(temp, link); |
1515 | 1514 |
1516 /* Free the last round's line. */ | 1515 /* Free the last round's line. */ |
1517 if (link_temp_line) | 1516 if (link_temp_line) |