libpurple/protocols/mxit/http.c

changeset 32157
39ba2e2492ee
parent 32154
9491c289412b
child 33760
66611fba7197
--- a/libpurple/protocols/mxit/http.c	Sun Aug 21 07:57:28 2011 +0000
+++ b/libpurple/protocols/mxit/http.c	Sun Aug 21 08:00:53 2011 +0000
@@ -273,7 +273,7 @@
 	/* source is the file descriptor of the new connection */
 	if ( source < 0 ) {
 		purple_debug_info( MXIT_PLUGIN_ID, "mxit_cb_http_connect failed: %s\n", error_message );
-		purple_connection_error_reason( req->session->con, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _( "Unable to connect to the MXit HTTP server. Please check your server settings." ) );
+		purple_connection_error( req->session->con, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _( "Unable to connect to the MXit HTTP server. Please check your server settings." ) );
 		return;
 	}
 

mercurial