Mercurial > pidgin
diff libpurple/protocols/qq/qq.c @ 20125:3e8531514ad7
Add disconnection reasons to qq.
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Tue, 02 Oct 2007 00:14:12 +0000 |
parents | 44b4e8bd759b |
children | ba41f2a60253 |
line wrap: on
line diff
--- a/libpurple/protocols/qq/qq.c Mon Oct 01 16:07:14 2007 +0000 +++ b/libpurple/protocols/qq/qq.c Tue Oct 02 00:14:12 2007 +0000 @@ -136,7 +136,8 @@ purple_connection_update_progress(gc, _("Connecting"), 0, QQ_CONNECT_STEPS); if (qq_connect(account, qq_server, strtol(qq_port, NULL, 10), use_tcp, FALSE) < 0) - purple_connection_error(gc, _("Unable to connect.")); + purple_connection_error_reason(gc, PURPLE_REASON_NETWORK_ERROR, + _("Unable to connect.")); } /* directly goes for qq_disconnect */