--- a/libpurple/protocols/yahoo/yahoo_packet.c Wed Oct 03 17:23:02 2007 +0000 +++ b/libpurple/protocols/yahoo/yahoo_packet.c Wed Oct 03 17:44:29 2007 +0000 @@ -304,7 +304,8 @@ return; else if (ret < 0) { /* TODO: what to do here - do we really have to disconnect? */ - purple_connection_error(yd->gc, _("Write Error")); + purple_connection_error_reason(yd->gc, PURPLE_REASON_NETWORK_ERROR, + _("Write Error")); return; }