libpurple/protocols/bonjour/mdns_common.c

branch
cpw.qulogic.gtk3
changeset 32438
dc8991868906
parent 30826
83e7040d3565
child 35822
237ad851330e
child 36704
01edebf55111
equal deleted inserted replaced
32437:a1093fbc45d2 32438:dc8991868906
255 255
256 void 256 void
257 bonjour_dns_sd_set_jid(PurpleAccount *account, const char *hostname) 257 bonjour_dns_sd_set_jid(PurpleAccount *account, const char *hostname)
258 { 258 {
259 PurpleConnection *conn = purple_account_get_connection(account); 259 PurpleConnection *conn = purple_account_get_connection(account);
260 BonjourData *bd = conn->proto_data; 260 BonjourData *bd = purple_connection_get_protocol_data(conn);
261 const char *tmp, *account_name = purple_account_get_username(account); 261 const char *tmp, *account_name = purple_account_get_username(account);
262 262
263 /* Previously we allowed the hostname part of the jid to be set 263 /* Previously we allowed the hostname part of the jid to be set
264 * explicitly when it should always be the current hostname. 264 * explicitly when it should always be the current hostname.
265 * That is what this is intended to deal with. 265 * That is what this is intended to deal with.

mercurial