libpurple/protocols/yahoo/yahoo_packet.c

branch
cpw.resiak.disconnectreason
changeset 21279
40685e1f50ca
parent 20460
5282ce7ac330
child 21503
b3cad646ba4a
--- a/libpurple/protocols/yahoo/yahoo_packet.c	Sun Oct 14 12:19:20 2007 +0000
+++ b/libpurple/protocols/yahoo/yahoo_packet.c	Sun Oct 14 21:08:42 2007 +0000
@@ -304,7 +304,7 @@
 		return;
 	else if (ret < 0) {
 		/* TODO: what to do here - do we really have to disconnect? */
-		purple_connection_error_reason(yd->gc, PURPLE_REASON_NETWORK_ERROR,
+		purple_connection_error_reason(yd->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
 		                               _("Write Error"));
 		return;
 	}

mercurial