summaryrefslogtreecommitdiff
path: root/deps/evcom
diff options
context:
space:
mode:
authorRyan <ry@tinyclouds.org>2009-08-10 12:54:57 +0200
committerRyan <ry@tinyclouds.org>2009-08-10 12:54:57 +0200
commit4253baf4ab02c9700a9fe9e5440a9de35149e908 (patch)
treedfbc1fe11670b62643065ffde5a7d641dca9ef7e /deps/evcom
parentca0dda797a7282c9badaaeee80a24ba2ea56bee4 (diff)
downloadnode-new-4253baf4ab02c9700a9fe9e5440a9de35149e908.tar.gz
Sync evcom.
Diffstat (limited to 'deps/evcom')
-rw-r--r--deps/evcom/evcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/evcom/evcom.c b/deps/evcom/evcom.c
index 99881ebd9a..a60f7f21d4 100644
--- a/deps/evcom/evcom.c
+++ b/deps/evcom/evcom.c
@@ -866,7 +866,7 @@ on_io_event(EV_P_ ev_io *watcher, int revents)
}
/* SEND LOOP - TRY TO CLEAR THE BUFFER */
- if (stream->write_action == NULL || !ev_is_active(&stream->write_watcher)) {
+ if (stream->write_action == NULL) {
have_write_event = FALSE;
} else {
r = stream->write_action(stream);