From: <the...@us...> - 2006-11-16 20:07:30
|
Revision: 17759 http://svn.sourceforge.net/gaim/?rev=17759&view=rev Author: thekingant Date: 2006-11-16 12:07:19 -0800 (Thu, 16 Nov 2006) Log Message: ----------- This call is not needed--the string is initialized to the correct size. Modified Paths: -------------- trunk/libgaim/protocols/yahoo/yahoo_picture.c Modified: trunk/libgaim/protocols/yahoo/yahoo_picture.c =================================================================== --- trunk/libgaim/protocols/yahoo/yahoo_picture.c 2006-11-16 04:58:40 UTC (rev 17758) +++ trunk/libgaim/protocols/yahoo/yahoo_picture.c 2006-11-16 20:07:19 UTC (rev 17759) @@ -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); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |