Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.c @ 32816:ec6371d4cae8
Add purple_account_is_disconnecting() accessor function.
author | andrew.victor@mxit.com |
---|---|
date | Sun, 06 Nov 2011 20:31:14 +0000 |
parents | cb486df263ef |
children | 4a34689eeb33 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Sun Nov 06 19:46:57 2011 +0000 +++ b/libpurple/protocols/jabber/jabber.c Sun Nov 06 20:31:14 2011 +0000 @@ -440,7 +440,7 @@ * we're disconnecting, don't generate (possibly another) error that * (for some UIs) would mask the first. */ - if (!account->disconnecting) { + if (!purple_account_is_disconnecting(account)) { gchar *tmp = g_strdup_printf(_("Lost connection with server: %s"), g_strerror(errno)); purple_connection_error(js->gc,