Mercurial > pidgin
comparison libpurple/protocols/oscar/oscar.c @ 23311:f1a0258b44f4
Added paramater to aim_send_login() to allow control over whether we want
multiple logins or not per AIM connection. If TRUE, we have the current
behavior, in which the AIM server prompts the user as to what to do. If FALSE,
existing logins are disconnected as we connect. We pass
OSCAR_DEFAULT_ALLOW_MULTIPLE_LOGINS, which is TRUE.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sat, 07 Jun 2008 15:41:05 +0000 |
parents | e9dc6fdbf257 |
children | afdbbf36499e |
comparison
equal
deleted
inserted
replaced
23310:a3759c05cc5b | 23311:f1a0258b44f4 |
---|---|
1809 truncate_pass = va_arg(ap, int); | 1809 truncate_pass = va_arg(ap, int); |
1810 va_end(ap); | 1810 va_end(ap); |
1811 | 1811 |
1812 aim_send_login(od, conn, purple_account_get_username(account), | 1812 aim_send_login(od, conn, purple_account_get_username(account), |
1813 purple_connection_get_password(gc), truncate_pass, | 1813 purple_connection_get_password(gc), truncate_pass, |
1814 od->icq ? &icqinfo : &aiminfo, key); | 1814 od->icq ? &icqinfo : &aiminfo, key, |
1815 /* allow multple logins? */ OSCAR_DEFAULT_ALLOW_MULTIPLE_LOGINS); | |
1815 | 1816 |
1816 purple_connection_update_progress(gc, _("Password sent"), 2, OSCAR_CONNECT_STEPS); | 1817 purple_connection_update_progress(gc, _("Password sent"), 2, OSCAR_CONNECT_STEPS); |
1817 ck[2] = 0x6c; | 1818 ck[2] = 0x6c; |
1818 | 1819 |
1819 return 1; | 1820 return 1; |