Added cons output when logging in.

Fixed issue with creating a new account on reconnect
This commit is contained in:
James Booth
2013-01-27 02:24:02 +00:00
parent 235339e5a5
commit 20d0df4c34
2 changed files with 10 additions and 13 deletions

View File

@@ -130,11 +130,6 @@ jabber_conn_status_t
jabber_connect(const char * const jid,
const char * const passwd, const char * const altdomain)
{
if (saved_user.account != NULL) {
free(saved_user.account);
saved_user.account = NULL;
}
if (saved_user.jid == NULL) {
saved_user.jid = strdup(jid);
}