| 55 default: |
55 default: |
| 56 tmp = g_strdup_printf(_("Unknown error from %s server"), name); |
56 tmp = g_strdup_printf(_("Unknown error from %s server"), name); |
| 57 break; |
57 break; |
| 58 } |
58 } |
| 59 |
59 |
| 60 gaim_connection_error(gc, tmp); |
60 if (servconn->type != MSN_SERVER_SB) |
| 61 |
61 gaim_connection_error(gc, tmp); |
| |
62 else |
| |
63 { |
| |
64 GaimAccount *account = gaim_connection_get_account(gc); |
| |
65 char *primary = g_strdup_printf(_("MSN error for account %s"), |
| |
66 gaim_account_get_username(account)); |
| |
67 |
| |
68 gaim_notify_error(gc, NULL, primary, tmp); |
| |
69 |
| |
70 g_free(primary); |
| |
71 } |
| |
72 |
| 62 g_free(tmp); |
73 g_free(tmp); |
| 63 } |
74 } |
| 64 |
75 |
| 65 static void |
76 static void |
| 66 connect_cb(gpointer data, gint source, GaimInputCondition cond) |
77 connect_cb(gpointer data, gint source, GaimInputCondition cond) |