# HG changeset patch # User Mark Doliner # Date 1130306366 0 # Node ID 216a05e0a6f10f27124d52d0913fdff56a97db99 # Parent ded0ec14f5d3d77fd32edf77cfe02a67c11946b2 [gaim-migrate @ 14130] Peter, does this help? committer: Tailor Script diff -r ded0ec14f5d3 -r 216a05e0a6f1 src/protocols/bonjour/bonjour.c --- 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 *