Mercurial > pidgin.yaz
comparison src/protocols/oscar/auth.c @ 3912:e73c48cf1645
[gaim-migrate @ 4071]
Little touchups in the "admin" family. Not much has changed, but I
moved some functions around because I'm weird. (This is the stuff in
"protocol actions" for oscar accounts.)
Some of the dialogs should look a little more, I dunno, uniform or
something.
Change password, format screenname, and change current registered screen
name should give you some slightly userfriendly error messages now.
Also "confirm account" will pop up that little message that says you
should be expecting an email... I think that was one of those brain
mistakes, where something was backwards, or something.
Uh, so let me know if you see any problems with any of that.
Why did I work on this instead of ssi? I don't know. This is funner, I
guess. I'll get to ssi eventually...
Meow.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 07 Nov 2002 02:25:12 +0000 |
parents | 66b1ad9782a9 |
children | 6efe00ee7de8 |
comparison
equal
deleted
inserted
replaced
3911:816cfd8dae78 | 3912:e73c48cf1645 |
---|---|
1 /* | 1 /* |
2 * Deals with the authorizer (group 0x0017=23, and old-style non-SNAC login). | 2 * Family 0x0017 - Authentication. |
3 * | |
4 * Deals with the authorizer for SNAC-based login, and also old-style | |
5 * non-SNAC login. | |
3 * | 6 * |
4 */ | 7 */ |
5 | 8 |
6 #define FAIM_INTERNAL | 9 #define FAIM_INTERNAL |
7 #include <aim.h> | 10 #include <aim.h> |
472 if (aim_gettlv(tlvlist, 0x0047, 1)) | 475 if (aim_gettlv(tlvlist, 0x0047, 1)) |
473 info.latestrelease.name = aim_gettlv_str(tlvlist, 0x0047, 1); | 476 info.latestrelease.name = aim_gettlv_str(tlvlist, 0x0047, 1); |
474 if (aim_gettlv(tlvlist, 0x0049, 1)) | 477 if (aim_gettlv(tlvlist, 0x0049, 1)) |
475 ; /* no idea what this is */ | 478 ; /* no idea what this is */ |
476 | 479 |
480 /* | |
481 * URL to change password. | |
482 */ | |
483 if (aim_gettlv(tlvlist, 0x0054, 1)) | |
484 info.chpassurl = aim_gettlv_str(tlvlist, 0x0054, 1); | |
477 | 485 |
478 if ((userfunc = aim_callhandler(sess, rx->conn, snac ? snac->family : 0x0017, snac ? snac->subtype : 0x0003))) | 486 if ((userfunc = aim_callhandler(sess, rx->conn, snac ? snac->family : 0x0017, snac ? snac->subtype : 0x0003))) |
479 ret = userfunc(sess, rx, &info); | 487 ret = userfunc(sess, rx, &info); |
480 | 488 |
481 free(info.sn); | 489 free(info.sn); |
482 free(info.bosip); | 490 free(info.bosip); |
483 free(info.errorurl); | 491 free(info.errorurl); |
484 free(info.email); | 492 free(info.email); |
493 free(info.chpassurl); | |
485 free(info.latestrelease.name); | 494 free(info.latestrelease.name); |
486 free(info.latestrelease.url); | 495 free(info.latestrelease.url); |
487 free(info.latestrelease.info); | 496 free(info.latestrelease.info); |
488 free(info.latestbeta.name); | 497 free(info.latestbeta.name); |
489 free(info.latestbeta.url); | 498 free(info.latestbeta.url); |
538 strncpy(mod->name, "auth", sizeof(mod->name)); | 547 strncpy(mod->name, "auth", sizeof(mod->name)); |
539 mod->snachandler = snachandler; | 548 mod->snachandler = snachandler; |
540 | 549 |
541 return 0; | 550 return 0; |
542 } | 551 } |
543 |