Commit 624ba365 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Store protocol offset

parent 5d94b82a
......@@ -140,6 +140,8 @@ size_t redis_parser_execute(redis_parser_t *parser, redis_protocol_t **dst, cons
switch (state) {
case s_type_char:
{
cur->poff = nread;
switch (ch) {
case '$':
cur->type = REDIS_STRING_T;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment