diff src/protocols/yahoo/util.c @ 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 f4e58e94ced3
children
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) {