libpurple/plugins/log_reader.c

changeset 17551
f7417225f89d
parent 16745
df2c3d6b609a
child 17552
728cb40cb1d1
equal deleted inserted replaced
17550:d67724d3a606 17551:f7417225f89d
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=\"");

mercurial