aboutsummaryrefslogtreecommitdiff
path: root/src/microspdy/io_raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microspdy/io_raw.c')
-rw-r--r--src/microspdy/io_raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microspdy/io_raw.c b/src/microspdy/io_raw.c
index 5df2e0e8..58127e84 100644
--- a/src/microspdy/io_raw.c
+++ b/src/microspdy/io_raw.c
@@ -176,7 +176,7 @@ SPDYF_raw_before_write(struct SPDY_Session *session)
176int 176int
177SPDYF_raw_after_write(struct SPDY_Session *session, int was_written) 177SPDYF_raw_after_write(struct SPDY_Session *session, int was_written)
178{ 178{
179 if(0 == (SPDY_DAEMON_FLAG_NO_DELAY & session->daemon->flags)) 179 if(SPDY_YES == was_written && 0 == (SPDY_DAEMON_FLAG_NO_DELAY & session->daemon->flags))
180 { 180 {
181 int val = 0; 181 int val = 0;
182 int ret; 182 int ret;