comparison libpurple/protocols/msn/servconn.h @ 27979:8e31eec7b621

Propagate connect errors from the MSN proxy callback to the servconn error handling function so that the real proxy error is displayed instead of a generic "Connect Error". Fixes #8280.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Tue, 21 Jul 2009 04:31:27 +0000
parents 4fb5e292de75
children 33856dfb5cbf
comparison
equal deleted inserted replaced
27978:97ba0d9e6e54 27979:8e31eec7b621
168 * Function to call whenever an error related to a switchboard occurs. 168 * Function to call whenever an error related to a switchboard occurs.
169 * 169 *
170 * @param servconn The servconn. 170 * @param servconn The servconn.
171 * @param error The error that happened. 171 * @param error The error that happened.
172 */ 172 */
173 void msn_servconn_got_error(MsnServConn *servconn, MsnServConnError error); 173 void msn_servconn_got_error(MsnServConn *servconn, MsnServConnError error,
174 const char *reason);
174 175
175 /** 176 /**
176 * Process the data in servconn->rx_buf. This is called after reading 177 * Process the data in servconn->rx_buf. This is called after reading
177 * data from the socket. 178 * data from the socket.
178 * 179 *