libpurple/protocols/bonjour/mdns_common.c

branch
soc.2013.gobjectification.plugins
changeset 36708
4b7b5964754a
parent 36704
01edebf55111
child 37134
07746c9a04bf
--- a/libpurple/protocols/bonjour/mdns_common.c	Fri Sep 13 18:54:07 2013 +0530
+++ b/libpurple/protocols/bonjour/mdns_common.c	Fri Sep 13 18:54:28 2013 +0530
@@ -257,7 +257,7 @@
 bonjour_dns_sd_set_jid(PurpleAccount *account, const char *hostname)
 {
 	PurpleConnection *conn = purple_account_get_connection(account);
-	BonjourConnection *bd = BONJOUR_CONNECTION(conn);
+	BonjourData *bd = purple_connection_get_protocol_data(conn);
 	const char *tmp, *account_name = purple_account_get_username(account);
 
 	/* Previously we allowed the hostname part of the jid to be set

mercurial