changeset 14980:f4705e2c2026

[gaim-migrate @ 17759] This call is not needed--the string is initialized to the correct size. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 16 Nov 2006 20:07:19 +0000
parents c157efddc62a
children 0a9c44ce9a4a
files libgaim/protocols/yahoo/yahoo_picture.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);