comparison libpurple/protocols/yahoo/ycht.c @ 21418:38cc722159ff

propagate from branch 'im.pidgin.pidgin' (head d8103be97302efb404e2f6922925f661c807ad23) to branch 'im.pidgin.cpw.resiak.disconnectreason' (head 0ac25a1f38ae28654c967caa143f1c0d12ef2e1c)
author Will Thompson <will.thompson@collabora.co.uk>
date Sat, 10 Nov 2007 12:10:04 +0000
parents ba41f2a60253 35b4f1dc4c8d
children 510f07e1f5c1
comparison
equal deleted inserted replaced
21417:21bea7c72a80 21418:38cc722159ff
472 if (errno == EAGAIN) 472 if (errno == EAGAIN)
473 /* No worries */ 473 /* No worries */
474 return; 474 return;
475 475
476 tmp = g_strdup_printf(_("Lost connection with server\n%s"), 476 tmp = g_strdup_printf(_("Lost connection with server\n%s"),
477 strerror(errno)); 477 g_strerror(errno));
478 ycht_connection_error(ycht, tmp); 478 ycht_connection_error(ycht, tmp);
479 g_free(tmp); 479 g_free(tmp);
480 return; 480 return;
481 } else if (len == 0) { 481 } else if (len == 0) {
482 ycht_connection_error(ycht, _("Server closed the connection.")); 482 ycht_connection_error(ycht, _("Server closed the connection."));