Mercurial > pidgin
comparison src/protocols/msn/session.c @ 10568:fed2a7c2471d
[gaim-migrate @ 11954]
Some MSN bits:
- Fix HTTP Method works when using an HTTP proxy that require authentication
(Bastien Durel)
- Better error reporting when the MSN servers are temporarily unavailable
- Prevent zombie failed switchboard connections swallowing up messages
- Fix win32 crashes receiving messages from aMSN with no formatting info
- Fix a crash when the connection to the nexus server fails
- maybe some other stuff, I forgot how much had piled up
committer: Tailor Script <tailor@pidgin.im>
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Thu, 03 Feb 2005 19:47:52 +0000 |
| parents | ace8cd0de6ea |
| children | b953704d4d6c |
comparison
equal
deleted
inserted
replaced
| 10567:54f7939df8e3 | 10568:fed2a7c2471d |
|---|---|
| 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; |
