diff libpurple/protocols/yahoo/ycht.c @ 20777:c40416c4eca6

Add reasons to a couple of new errors (and to a commented-out one, for completeness).
author Will Thompson <will.thompson@collabora.co.uk>
date Fri, 05 Oct 2007 16:50:54 +0000
parents 44b4e8bd759b
children ba41f2a60253
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/ycht.c	Fri Oct 05 15:50:17 2007 +0000
+++ b/libpurple/protocols/yahoo/ycht.c	Fri Oct 05 16:50:54 2007 +0000
@@ -285,7 +285,8 @@
 	else if (ret <= 0) {
 		/* TODO: error handling */
 /*
-		purple_connection_error(purple_account_get_connection(irc->account),
+		purple_connection_error_reason(purple_account_get_connection(irc->account),
+			      PURPLE_REASON_NETWORK_ERROR,
 			      _("Server has disconnected"));
 */
 		return;