# HG changeset patch # User Richard Laager # Date 1146512937 0 # Node ID 76d8b0032f504f94d1f3f8b21c35820e182f0b3e # Parent 1e6de7b949d4978d84c2c2356bbd67868ea6d1b7 [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 diff -r 1e6de7b949d4 -r 76d8b0032f50 src/protocols/yahoo/util.c --- 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) {