aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/io.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-10-21 22:48:44 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-10-21 22:48:44 +0200
commit35f6677c07770f0323872e4edddefb7b752e50bd (patch)
tree799e9533f49b4bdb02896a98e21a69a10db3fa6f /protocols/jabber/io.c
parent3b3cd693845539938baf5e26c80234f03ebf870c (diff)
Proper detections of errors from *_connect() and added a "Connecting"
message in jabber_login().
Diffstat (limited to 'protocols/jabber/io.c')
-rw-r--r--protocols/jabber/io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/protocols/jabber/io.c b/protocols/jabber/io.c
index 665f5322..bc08a977 100644
--- a/protocols/jabber/io.c
+++ b/protocols/jabber/io.c
@@ -101,8 +101,6 @@ static gboolean jabber_write_queue( struct gaim_connection *gc )
else
st = write( jd->fd, jd->txq, jd->tx_len );
-// if( st > 0 ) write( 1, jd->txq, st );
-
if( st == jd->tx_len )
{
/* We wrote everything, clear the buffer. */
@@ -156,8 +154,6 @@ static gboolean jabber_read_callback( gpointer data, gint fd, b_input_condition
else
st = read( jd->fd, buf, sizeof( buf ) );
-// if( st > 0 ) write( 1, buf, st );
-
if( st > 0 )
{
/* Parse. */