comparison libpurple/protocols/bonjour/mdns_common.c @ 32819:2c6510167895 default tip

propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24) to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 02 Jun 2012 02:30:49 +0000
parents e895aebcb504
children
comparison
equal deleted inserted replaced
32818:01ff09d4a463 32819:2c6510167895
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.