aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-04-15 15:39:35 -0700
committerWilmer van der Gaast <wilmer@gaast.net>2007-04-15 15:39:35 -0700
commitc2fb38096ea4e75a680e57e103d4a4986aa84c75 (patch)
treed0a8fd0a602867dd6dc406bdc8206fa049ba757e /protocols/jabber/jabber.c
parentcd4723c257f9f7bd8d4a46c6562f93c2aefc3dbb (diff)
Cleaned up struct im_connection. No more username/password stuff since
it's in acc too. wants_to_die is now an argument to imc_logout().
Diffstat (limited to 'protocols/jabber/jabber.c')
-rw-r--r--protocols/jabber/jabber.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c
index ec0df487..af294d90 100644
--- a/protocols/jabber/jabber.c
+++ b/protocols/jabber/jabber.c
@@ -72,7 +72,7 @@ static void jabber_login( account_t *acc )
if( jd->server == NULL )
{
imc_error( ic, "Incomplete account name (format it like <username@jabberserver.name>)" );
- imc_logout( ic );
+ imc_logout( ic, FALSE );
return;
}
@@ -165,7 +165,7 @@ static void jabber_login( account_t *acc )
{
imc_log( ic, "Incorrect port number, must be in the %d-%d range",
JABBER_PORT_MIN, JABBER_PORT_MAX );
- imc_logout( ic );
+ imc_logout( ic, FALSE );
return;
}
@@ -186,7 +186,7 @@ static void jabber_login( account_t *acc )
if( jd->fd == -1 )
{
imc_error( ic, "Could not connect to server" );
- imc_logout( ic );
+ imc_logout( ic, TRUE );
}
}