aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c
index 828d2b4cc..f040729f1 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -308,7 +308,7 @@ read_socket (f_str_t * in, void *arg)
task->dispatcher->want_read = FALSE;
}
else {
- if (!task->dispatcher->want_read && in->len == 0) {
+ if (task->dispatcher->want_read && in->len == 0) {
/*
* Skip initial zero length string remain from
* buffer policy switch