Mercurial > pidgin
changeset 17460:8622d1233e0a
Using g_strstr_len(x, strlen(x), ...) is dumb.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 04 Jun 2007 00:55:19 +0000 |
parents | 425bc4362d8c |
children | 36cb252e9f86 |
files | libpurple/plugins/log_reader.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/plugins/log_reader.c Mon Jun 04 00:54:16 2007 +0000 +++ b/libpurple/plugins/log_reader.c Mon Jun 04 00:55:19 2007 +0000 @@ -1484,7 +1484,7 @@ * </a> */ link_temp_line = NULL; - while ((link = g_strstr_len(line, strlen(line), "(Link: "))) { + while ((link = strstr(line, "(Link: "))) { GString *temp; *link = '\0';