changeset 9569:8ba8477ca7b6

[gaim-migrate @ 10412] wing and datallah say this fixes #994207 committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Tue, 20 Jul 2004 03:46:17 +0000
parents 80b3c9e31df4
children 24f84b7ffe8e
files src/protocols/msn/msn.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Tue Jul 20 03:41:34 2004 +0000
+++ b/src/protocols/msn/msn.c	Tue Jul 20 03:46:17 2004 +0000
@@ -1517,6 +1517,8 @@
 	g_string_append(s, "</body></html>\n");
 
 #if PHOTO_SUPPORT
+	/* Find the URL to the photo; must be before the marshalling [Bug 994207] */
+	photo_url_text = msn_get_photo_url(url_text);
 
 	/* Marshall the existing state */
 	info2_data = g_malloc0(sizeof(MsnGetInfoStepTwoData));
@@ -1529,7 +1531,6 @@
 	info2_data->title = title;
 
 	/* Try to put the photo in there too, if there's one */
-	photo_url_text = msn_get_photo_url(url_text);
 	if (photo_url_text) {
 		gaim_url_fetch(photo_url_text, FALSE, NULL, FALSE, msn_got_photo,
 				info2_data);