libpurple/protocols/bonjour/mdns_common.c

branch
soc.2013.gobjectification.plugins
changeset 36704
01edebf55111
parent 32260
5b0ecccb3bbb
child 36708
4b7b5964754a
--- a/libpurple/protocols/bonjour/mdns_common.c	Thu Sep 12 21:55:35 2013 +0530
+++ b/libpurple/protocols/bonjour/mdns_common.c	Thu Sep 12 21:56:20 2013 +0530
@@ -257,7 +257,7 @@
 bonjour_dns_sd_set_jid(PurpleAccount *account, const char *hostname)
 {
 	PurpleConnection *conn = purple_account_get_connection(account);
-	BonjourData *bd = purple_connection_get_protocol_data(conn);
+	BonjourConnection *bd = BONJOUR_CONNECTION(conn);
 	const char *tmp, *account_name = purple_account_get_username(account);
 
 	/* Previously we allowed the hostname part of the jid to be set

mercurial