src/protocols/msn/session.c

changeset 10568
15f02c0e7fc1
parent 10533
4c2ad22fad20
child 10582
19bf2c0b3e63
equal deleted inserted replaced
10567:87b02dd40349 10568:15f02c0e7fc1
280 const char *info) 280 const char *info)
281 { 281 {
282 GaimConnection *gc; 282 GaimConnection *gc;
283 char *msg; 283 char *msg;
284 284
285 gc = session->account->gc; 285 gc = gaim_account_get_connection(session->account);
286 286
287 switch (error) 287 switch (error)
288 { 288 {
289 case MSN_ERROR_SERVCONN: 289 case MSN_ERROR_SERVCONN:
290 msg = g_strdup(info); 290 msg = g_strdup(info);
297 msg = g_strdup(_("Error parsing HTTP.")); 297 msg = g_strdup(_("Error parsing HTTP."));
298 break; 298 break;
299 case MSN_ERROR_SIGN_OTHER: 299 case MSN_ERROR_SIGN_OTHER:
300 gc->wants_to_die = TRUE; 300 gc->wants_to_die = TRUE;
301 msg = g_strdup(_("You have signed on from another location.")); 301 msg = g_strdup(_("You have signed on from another location."));
302 break;
303 case MSN_ERROR_SERV_UNAVAILABLE:
304 msg = g_strdup(_("The MSN servers are temporarily "
305 "unavailable. Please wait and try "
306 "again."));
302 break; 307 break;
303 case MSN_ERROR_SERV_DOWN: 308 case MSN_ERROR_SERV_DOWN:
304 msg = g_strdup(_("The MSN servers are going down " 309 msg = g_strdup(_("The MSN servers are going down "
305 "temporarily.")); 310 "temporarily."));
306 break; 311 break;

mercurial