Commit 4088a8f9 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Reintroduce positive sign

parent 5f1212ed
......@@ -200,6 +200,12 @@ size_t redis_parser_execute(redis_parser_t *parser, redis_protocol_t **dst, cons
TRANSITION(integer_19);
}
/* Start with positive sign */
if (ch == '+') {
i64.neg = 0;
TRANSITION(integer_19);
}
/* Single integer character is a zero */
if (ch == '0') {
TRANSITION(integer_cr);
......
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