summaryrefslogtreecommitdiff
path: root/memcached.c
diff options
context:
space:
mode:
Diffstat (limited to 'memcached.c')
-rw-r--r--memcached.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memcached.c b/memcached.c
index 0f03357..a89df96 100644
--- a/memcached.c
+++ b/memcached.c
@@ -4967,7 +4967,7 @@ static void drive_machine(conn *c) {
case conn_swallow:
/* we are reading sbytes and throwing them away */
- if (c->sbytes == 0) {
+ if (c->sbytes <= 0) {
conn_set_state(c, conn_new_cmd);
break;
}