comparison libpurple/protocols/mxit/http.c @ 32819:2c6510167895 default tip

propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24) to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 02 Jun 2012 02:30:49 +0000
parents a5b556ac1de5
children
comparison
equal deleted inserted replaced
32818:01ff09d4a463 32819:2c6510167895
271 purple_debug_info( MXIT_PLUGIN_ID, "mxit_cb_http_connect\n" ); 271 purple_debug_info( MXIT_PLUGIN_ID, "mxit_cb_http_connect\n" );
272 272
273 /* source is the file descriptor of the new connection */ 273 /* source is the file descriptor of the new connection */
274 if ( source < 0 ) { 274 if ( source < 0 ) {
275 purple_debug_info( MXIT_PLUGIN_ID, "mxit_cb_http_connect failed: %s\n", error_message ); 275 purple_debug_info( MXIT_PLUGIN_ID, "mxit_cb_http_connect failed: %s\n", error_message );
276 purple_connection_error( req->session->con, _( "Unable to connect to the MXit HTTP server. Please check your server settings." ) ); 276 purple_connection_error( req->session->con, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _( "Unable to connect to the MXit HTTP server. Please check your server settings." ) );
277 return; 277 return;
278 } 278 }
279 279
280 /* we now have an open and active TCP connection to the mxit server */ 280 /* we now have an open and active TCP connection to the mxit server */
281 req->session->fd = source; 281 req->session->fd = source;