Added autocomplete for enabled logins only

This commit is contained in:
James Booth
2012-12-10 00:53:57 +00:00
parent 210da7b137
commit 5013cce832
4 changed files with 53 additions and 20 deletions

View File

@@ -147,6 +147,11 @@ jabber_conn_status_t
jabber_connect(const char * const user,
const char * const passwd, const char * const altdomain)
{
if (saved_account != NULL) {
free(saved_account);
saved_account = NULL)
}
if (saved_user == NULL) {
saved_user = strdup(user);
}