diff libpurple/protocols/yahoo/yahoo_packet.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 deecc1d663c4
children
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_packet.c	Sun Aug 21 07:57:28 2011 +0000
+++ b/libpurple/protocols/yahoo/yahoo_packet.c	Sun Aug 21 08:00:53 2011 +0000
@@ -302,7 +302,7 @@
 		return;
 	else if (ret < 0) {
 		/* TODO: what to do here - do we really have to disconnect? */
-		purple_connection_error_reason(yd->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
+		purple_connection_error(yd->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
 		                               _("Write Error"));
 		return;
 	}