# HG changeset patch # User Christian Hammond # Date 1085639678 0 # Node ID 9883e3398e375f6998483d7e34d56003e64d4677 # Parent f32ee2e97b37be2c804962b1089b89e9cb25a30f [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 diff -r f32ee2e97b37 -r 9883e3398e37 src/protocols/msn/servconn.c --- 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); }