changeset 11839:216a05e0a6f1

[gaim-migrate @ 14130] Peter, does this help? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 26 Oct 2005 05:59:26 +0000
parents ded0ec14f5d3
children 047f85200139
files src/protocols/bonjour/bonjour.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/bonjour/bonjour.c	Wed Oct 26 05:53:43 2005 +0000
+++ b/src/protocols/bonjour/bonjour.c	Wed Oct 26 05:59:26 2005 +0000
@@ -181,8 +181,10 @@
 	GaimStatusType *type;
 	int primitive;
 	GaimPresence *presence;
-	const char *message, *bonjour_status;
+	const char *message;
 
+	gc = gaim_account_get_connection(account);
+	bd = gc->proto_data;
 	disconnected = gaim_account_is_disconnected(account);
 	type = gaim_status_get_type(status);
 	primitive = gaim_status_type_get_primitive(type);
@@ -210,9 +212,7 @@
 	else
 		bd->dns_sd_data->status = g_strdup("dnd");
 
-	gc = gaim_account_get_connection(account);
-	bd = gc->proto_data;
-	bonjour_dns_sd_send_status(bd->dns_sd_data, bonjour_status, message);
+	bonjour_dns_sd_send_status(bd->dns_sd_data, bd->dns_sd_data->status, message);
 }
 
 static GList *