changeset 13708:76d8b0032f50

[gaim-migrate @ 16112] CID 150: The value returned from strstr was never used. I've used it as the starting point in the search for the equals sign. That is probably was what intended and makes more sense. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 01 May 2006 19:48:57 +0000
parents 1e6de7b949d4
children ff25f6d2b484
files src/protocols/yahoo/util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/util.c	Mon May 01 18:27:54 2006 +0000
+++ b/src/protocols/yahoo/util.c	Mon May 01 19:48:57 2006 +0000
@@ -222,7 +222,7 @@
 	char *x, *end;
 	int size;
 
-	if (((x = strstr(tag->str, "size"))) && ((x = strchr(tag->str, '=')))) {
+	if (((x = strstr(tag->str, "size"))) && ((x = strchr(x, '=')))) {
 		while (*x && !g_ascii_isdigit(*x))
 			x++;
 		if (*x) {