summaryrefslogtreecommitdiff
path: root/src/core/net-nonblock.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-08 15:47:18 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-08 15:47:18 +0000
commitd3e9880f48134c8eb122baf5a4407fa23d3e6ce5 (patch)
tree6d1f8b5a26f06e1deb6e9799c53b332ef5be0d7c /src/core/net-nonblock.c
parent2c0271412dcf7539aa192b746755862b43d407e4 (diff)
downloadirssi-d3e9880f48134c8eb122baf5a4407fa23d3e6ce5.zip
bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@979 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/net-nonblock.c')
-rw-r--r--src/core/net-nonblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/net-nonblock.c b/src/core/net-nonblock.c
index 73260381..f029b14d 100644
--- a/src/core/net-nonblock.c
+++ b/src/core/net-nonblock.c
@@ -47,7 +47,7 @@ static int g_io_channel_write_block(GIOChannel *channel, void *data, int len)
err = g_io_channel_write(channel, (char *) data + sent,
len-sent, &ret);
sent += ret;
- } while (ret < len && !is_fatal_error(err));
+ } while (sent < len && !is_fatal_error(err));
return err != 0 ? -1 : 0;
}