comparison libpurple/plugins/log_reader.c @ 17458:6c592bdeccc2

Remove some useless code, pointed out by o_sukhodolsky. References #1344
author Richard Laager <rlaager@wiktel.com>
date Mon, 04 Jun 2007 00:38:12 +0000
parents 5205dd2bd035
children 425bc4362d8c
comparison
equal deleted inserted replaced
17457:905d69a0ffd7 17458:6c592bdeccc2
1485 */ 1485 */
1486 link_temp_line = NULL; 1486 link_temp_line = NULL;
1487 while ((link = g_strstr_len(line, strlen(line), "(Link: "))) { 1487 while ((link = g_strstr_len(line, strlen(line), "(Link: "))) {
1488 GString *temp; 1488 GString *temp;
1489 1489
1490 if (!*link)
1491 continue;
1492
1493 *link = '\0'; 1490 *link = '\0';
1494 link++; 1491 link++;
1495 1492
1496 temp = g_string_new(line); 1493 temp = g_string_new(line);
1497 g_string_append(temp, "<a href=\""); 1494 g_string_append(temp, "<a href=\"");