summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/buffer.c b/common/buffer.c
index ea8f5a7..6064cbe 100644
--- a/common/buffer.c
+++ b/common/buffer.c
@@ -592,7 +592,7 @@ void* ha_bufdec64(ha_buffer_t* buf, const char* src, size_t* bytes)
};
}
- if(state != 3)
+ if(state != 0)
buf->_rp++;
/* TODO: Validate ending and return error if invalid somehow */