Mercurial > pidgin.yaz
changeset 9088:9883e3398e37
[gaim-migrate @ 9865]
If we get an error in a switchboard, don't disconnect. Instead, display the
error and keep our connection alive.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 27 May 2004 06:34:38 +0000 |
parents | f32ee2e97b37 |
children | 15da00b09b7c |
files | src/protocols/msn/servconn.c |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/servconn.c Thu May 27 06:06:03 2004 +0000 +++ b/src/protocols/msn/servconn.c Thu May 27 06:34:38 2004 +0000 @@ -200,7 +200,7 @@ const char *names[] = { "Notification", "Switchboard" }; const char *name; - + gc = gaim_account_get_connection(servconn->session->account); name = names[servconn->type]; @@ -223,8 +223,11 @@ break; } - gaim_connection_error(gc, tmp); - + if (servconn->type != MSN_SERVER_SB) + gaim_connection_error(gc, tmp); + else + gaim_notify_error(gc, NULL, tmp, NULL); + g_free(tmp); }