Mercurial > pidgin.yaz
changeset 14642:426383e5b45d
[gaim-migrate @ 17388]
It looks like AOL now differentiates between "invalid screen name"
and "incorrect password" in their authentication failed error code.
Neat.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 28 Sep 2006 06:32:53 +0000 |
parents | f0646e3c1c05 |
children | 4df2827fc2eb |
files | libgaim/protocols/oscar/oscar.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgaim/protocols/oscar/oscar.c Thu Sep 28 04:02:21 2006 +0000 +++ b/libgaim/protocols/oscar/oscar.c Thu Sep 28 06:32:53 2006 +0000 @@ -1276,10 +1276,15 @@ if (info->errorcode || !info->bosip || !info->cookielen || !info->cookie) { char buf[256]; switch (info->errorcode) { + case 0x01: + /* Unregistered screen name */ + gc->wants_to_die = TRUE; + gaim_connection_error(gc, _("Incorrect screen name.")); + break; case 0x05: /* Incorrect nick/password */ gc->wants_to_die = TRUE; - gaim_connection_error(gc, _("Incorrect nickname or password.")); + gaim_connection_error(gc, _("Incorrect password.")); break; case 0x11: /* Suspended account */