Mercurial > pidgin.yaz
diff src/protocols/bonjour/dns_sd.c @ 13063:41ec0316cd65
[gaim-migrate @ 15425]
Bonjour:
* Don't attempt to delete the bonjour group if it doesn't exist
* Set the session to NULL if it failed to connect. This seems to
only be needed when using with Avahi in Howl compatability mode.
Patch by David Schmitt (#1418017)
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 29 Jan 2006 20:42:23 +0000 |
parents | 3db14853d9ae |
children | b10030f6eab7 |
line wrap: on
line diff
--- a/src/protocols/bonjour/dns_sd.c Sat Jan 28 23:11:13 2006 +0000 +++ b/src/protocols/bonjour/dns_sd.c Sun Jan 29 20:42:23 2006 +0000 @@ -347,6 +347,10 @@ if (sw_discovery_init(&data->session) != SW_OKAY) { gaim_debug_error("bonjour", "Unable to initialize an mDNS session.\n"); + + /* In Avahi, sw_discovery_init frees data->session but doesn't clear it */ + data->session = NULL; + return FALSE; }