comparison src/account.c @ 6036:547ba881bc7e

[gaim-migrate @ 6486] Fix the --login=[NAME] command line argument. Fix the password prompt when signing on an account with no password set. I made some similar changes that probably fix problems with the filectl plugin, using gaim-remote to sign on an account, and signing on an account via perl script. (The change is calling gaim_account_connect() instead of serv_login().) Fix a silly compiler warning. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 05 Jul 2003 22:24:57 +0000
parents 49ae70ffcea5
children 80e3641ee9eb
comparison
equal deleted inserted replaced
6035:8c44020a958e 6036:547ba881bc7e
171 GaimConnection *gc; 171 GaimConnection *gc;
172 172
173 g_return_val_if_fail(account != NULL, NULL); 173 g_return_val_if_fail(account != NULL, NULL);
174 g_return_val_if_fail(!gaim_account_is_connected(account), NULL); 174 g_return_val_if_fail(!gaim_account_is_connected(account), NULL);
175 175
176 // if (gaim_account_is_connected(account))
177 // return gaim_account_get_connection(account);
178
176 gc = gaim_connection_new(account); 179 gc = gaim_connection_new(account);
177 180
178 gaim_debug(GAIM_DEBUG_INFO, "account", 181 gaim_debug(GAIM_DEBUG_INFO, "account",
179 "Connecting to account %p. gc = %p\n", account, gc); 182 "Connecting to account %p. gc = %p\n", account, gc);
180 183