# HG changeset patch # User Mark Doliner # Date 1163707639 0 # Node ID f4705e2c20260efb4836eb1da454d75de486d30e # Parent c157efddc62a250a7257782fdd733e226662973c [gaim-migrate @ 17759] This call is not needed--the string is initialized to the correct size. committer: Tailor Script diff -r c157efddc62a -r f4705e2c2026 libgaim/protocols/yahoo/yahoo_picture.c --- a/libgaim/protocols/yahoo/yahoo_picture.c Thu Nov 16 04:58:40 2006 +0000 +++ b/libgaim/protocols/yahoo/yahoo_picture.c Thu Nov 16 20:07:19 2006 +0000 @@ -561,7 +561,6 @@ int expire = gaim_account_get_int(account, YAHOO_PICEXPIRE_SETTING, 0); const char *oldurl = gaim_account_get_string(account, YAHOO_PICURL_SETTING, NULL); - g_string_set_size(s, st.st_size); len = fread(s->str, 1, st.st_size, file); fclose(file); g_string_set_size(s, len);