Mercurial > pidgin
diff libpurple/protocols/bonjour/bonjour.c @ 20776:f3cfcbbac3d8
propagate from branch 'im.pidgin.pidgin' (head 294731552d0baf5f1f37a45e0c119b2188f34ba8)
to branch 'im.pidgin.cpw.resiak.disconnectreason' (head 548e06334e7772c9583776ecbd80e8d2a68fcd79)
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Fri, 05 Oct 2007 15:50:17 +0000 |
parents | fb70e89180a9 efadfc6e2117 |
children | c40416c4eca6 |
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/bonjour.c Thu Oct 04 03:52:47 2007 +0000 +++ b/libpurple/protocols/bonjour/bonjour.c Fri Oct 05 15:50:17 2007 +0000 @@ -121,7 +121,8 @@ if (bonjour_jabber_start(bd->jabber_data) == -1) { /* Send a message about the connection error */ - purple_connection_error(gc, _("Unable to listen for incoming IM connections\n")); + purple_connection_error_reason (gc, PURPLE_REASON_NETWORK_ERROR, + _("Unable to listen for incoming IM connections\n")); return; } @@ -146,7 +147,8 @@ bd->dns_sd_data->account = account; if (!bonjour_dns_sd_start(bd->dns_sd_data)) { - purple_connection_error(gc, _("Unable to establish connection with the local mDNS server. Is it running?")); + purple_connection_error_reason (gc, PURPLE_REASON_NETWORK_ERROR, + _("Unable to establish connection with the local mDNS server. Is it running?")); return; }