[gaim-migrate @ 16112]

Mon, 01 May 2006 19:48:57 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Mon, 01 May 2006 19:48:57 +0000
changeset 13710
c8376b63ca31
parent 13709
1661d4bbb4ae
child 13711
f4af8af0b643

[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.

src/protocols/yahoo/util.c file | annotate | diff | comparison | revisions
--- 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) {

mercurial