# HG changeset patch # User Tim Ringenbach # Date 1088142110 0 # Node ID 3b0c6255033eac4fb41c40adeb332c34cdedf99b # Parent 84594a281500d4525eed5fcd1a876a207cd52722 [gaim-migrate @ 10209] Add back some strings. We still don't actually use this code. It's used with web messenger, which i'll make us fall back on soon. committer: Tailor Script diff -r 84594a281500 -r 3b0c6255033e src/protocols/yahoo/ycht.c --- a/src/protocols/yahoo/ycht.c Fri Jun 25 05:30:10 2004 +0000 +++ b/src/protocols/yahoo/ycht.c Fri Jun 25 05:41:50 2004 +0000 @@ -400,10 +400,8 @@ static void ycht_connection_error(YchtConn *ycht, const gchar *error) { -#if 0 -/* string freeze */ + gaim_notify_info(ycht->gc, NULL, _("Connection problem with the YCHT server."), error); -#endif ycht_connection_close(ycht); } @@ -416,8 +414,7 @@ len = read(ycht->fd, buf, sizeof(buf)); if (len <= 0) { - /*ycht_connection_error(ycht, _("Unable to read"));*/ - ycht_connection_error(ycht, NULL); + ycht_connection_error(ycht, _("Unable to read")); return; } @@ -485,8 +482,7 @@ char *buf; if (source < 0) { - /*ycht_connection_error(ycht, _("Unable to connect."));*/ - ycht_connection_error(ycht, NULL); + ycht_connection_error(ycht, _("Unable to connect.")); return; } @@ -522,8 +518,7 @@ gaim_account_get_int(account, "ycht-port", YAHOO_YCHT_PORT), ycht_got_connected, ycht) != 0) { - /*ycht_connection_error(ycht, _("Connection problem"));*/ - ycht_connection_error(ycht, NULL); + ycht_connection_error(ycht, _("Connection problem")); return; } }