libpurple/protocols/bonjour/mdns_win32.c

branch
soc.2013.gobjectification
changeset 34977
42e9e59fbf0f
parent 34728
8efd73063ecf
--- a/libpurple/protocols/bonjour/mdns_win32.c	Sun Sep 29 16:33:41 2013 +0530
+++ b/libpurple/protocols/bonjour/mdns_win32.c	Sun Sep 29 16:48:49 2013 +0530
@@ -105,7 +105,8 @@
 		purple_debug_error("bonjour", "Error (%d) handling mDNS response.\n", errorCode);
 		/* This happens when the mDNSResponder goes down, I haven't seen it happen any other time (in my limited testing) */
 		if (errorCode == kDNSServiceErr_Unknown) {
-			purple_connection_error(srh->account->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
+			purple_connection_error(purple_account_get_connection(srh->account),
+				PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
 				_("Error communicating with local mDNSResponder."));
 		}
 	}

mercurial