Commit 87055888 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Use macro

parent b50af6c5
...@@ -376,7 +376,7 @@ size_t redis_parser_execute(redis_parser_t *parser, redis_protocol_t **dst, cons ...@@ -376,7 +376,7 @@ size_t redis_parser_execute(redis_parser_t *parser, redis_protocol_t **dst, cons
/* Not everything can be read */ /* Not everything can be read */
cur->remaining -= available; cur->remaining -= available;
CALLBACK(string, cur, pos, available); CALLBACK(string, cur, pos, available);
pos += available; nread += available; ADVANCE(available);
/* Add number of processed bytes to cursor */ /* Add number of processed bytes to cursor */
cur->cursor += available; cur->cursor += available;
......
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