Mercurial > pidgin
comparison src/gaimrc.c @ 6067:6a3b676eb36a
[gaim-migrate @ 6517]
don't lose same-name accounts, and handle the default protocol a little better
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 09 Jul 2003 00:36:48 +0000 |
parents | 3a40666c08b4 |
children | 7197713bca8a |
comparison
equal
deleted
inserted
replaced
6066:c99959f1bb73 | 6067:6a3b676eb36a |
---|---|
518 p = parse_line(buf, &parse_buffer); | 518 p = parse_line(buf, &parse_buffer); |
519 | 519 |
520 if (strcmp(p->option, "ident")) | 520 if (strcmp(p->option, "ident")) |
521 return NULL; | 521 return NULL; |
522 | 522 |
523 account = gaim_account_new(p->value[0], "prpl-oscar"); | 523 account = gaim_account_new(p->value[0], NULL); |
524 | 524 |
525 gaim_account_set_password(account, p->value[1]); | 525 gaim_account_set_password(account, p->value[1]); |
526 gaim_account_set_remember_password(account, TRUE); | 526 gaim_account_set_remember_password(account, TRUE); |
527 | 527 |
528 gaim_accounts_add(account); | 528 gaim_accounts_add(account); |