comparison libpurple/protocols/bonjour/mdns_win32.c @ 31872:a5b556ac1de5

Rename purple_connection_error_reason to purple_connection_error
author Mark Doliner <mark@kingant.net>
date Sun, 21 Aug 2011 08:00:53 +0000
parents 9c8b28dc6656
children 01b832cc602a
comparison
equal deleted inserted replaced
31871:5105d0306b2a 31872:a5b556ac1de5
103 DNSServiceErrorType errorCode = DNSServiceProcessResult(srh->sdRef); 103 DNSServiceErrorType errorCode = DNSServiceProcessResult(srh->sdRef);
104 if (errorCode != kDNSServiceErr_NoError) { 104 if (errorCode != kDNSServiceErr_NoError) {
105 purple_debug_error("bonjour", "Error (%d) handling mDNS response.\n", errorCode); 105 purple_debug_error("bonjour", "Error (%d) handling mDNS response.\n", errorCode);
106 /* This happens when the mDNSResponder goes down, I haven't seen it happen any other time (in my limited testing) */ 106 /* This happens when the mDNSResponder goes down, I haven't seen it happen any other time (in my limited testing) */
107 if (errorCode == kDNSServiceErr_Unknown) { 107 if (errorCode == kDNSServiceErr_Unknown) {
108 purple_connection_error_reason(srh->account->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, 108 purple_connection_error(srh->account->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
109 _("Error communicating with local mDNSResponder.")); 109 _("Error communicating with local mDNSResponder."));
110 } 110 }
111 } 111 }
112 } 112 }
113 113