summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_conn_write.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-05-12 15:42:23 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-05-12 15:42:23 +0300
commit1782c771fab999b37a8c04ed72760e3528205be7 (patch)
treef48e73ebf668fb3839dee59b74cbdcf26dcfb301 /src/nxt_event_conn_write.c
parent9d16e1808b66dc9b747b152fb9ca2ab9f88528f3 (diff)
downloadunit-1782c771fab999b37a8c04ed72760e3528205be7.tar.gz
unit-1782c771fab999b37a8c04ed72760e3528205be7.tar.bz2
Fixed error introduced in rev d3dfd7c497e8.
Diffstat (limited to 'src/nxt_event_conn_write.c')
-rw-r--r--src/nxt_event_conn_write.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_event_conn_write.c b/src/nxt_event_conn_write.c
index 36d96468..4ac6e2d8 100644
--- a/src/nxt_event_conn_write.c
+++ b/src/nxt_event_conn_write.c
@@ -36,6 +36,7 @@ nxt_conn_io_write(nxt_task_t *task, void *obj, void *data)
b = c->write;
sb.socket = c->socket.fd;
+ sb.error = 0;
sb.sent = 0;
sb.size = 0;
sb.buf = b;