From: <the...@us...> - 2006-09-28 06:32:56
|
Revision: 17388 http://svn.sourceforge.net/gaim/?rev=17388&view=rev Author: thekingant Date: 2006-09-27 23:32:53 -0700 (Wed, 27 Sep 2006) Log Message: ----------- It looks like AOL now differentiates between "invalid screen name" and "incorrect password" in their authentication failed error code. Neat. Modified Paths: -------------- trunk/libgaim/protocols/oscar/oscar.c Modified: trunk/libgaim/protocols/oscar/oscar.c =================================================================== --- trunk/libgaim/protocols/oscar/oscar.c 2006-09-28 04:02:21 UTC (rev 17387) +++ trunk/libgaim/protocols/oscar/oscar.c 2006-09-28 06:32:53 UTC (rev 17388) @@ -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 */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |