Changeset 532efdf


Ignore:
Timestamp:
2015-10-14T16:31:07Z (4 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
e4145d9
Parents:
12442ed
Message:

msn: Don't reconnect on wsse:FailedAuthentication errors

That includes location blocked and incorrect password.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/ns.c

    r12442ed r532efdf  
    595595        } else {
    596596                imcb_error(ic, "Error during Passport authentication: %s", error);
    597                 imc_logout(ic, TRUE);
     597
     598                /* don't reconnect with auth errors */
     599                if (error && g_str_has_prefix(error, "wsse:FailedAuthentication")) {
     600                        imc_logout(ic, FALSE);
     601                } else {
     602                        imc_logout(ic, TRUE);
     603                }
    598604        }
    599605}
Note: See TracChangeset for help on using the changeset viewer.