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

Stupid macro error

parent cbe59756
......@@ -14,13 +14,14 @@
} while(0)
#define RESET_PROTOCOL_T(ptr) do { \
(ptr)->poff = 0; \
(ptr)->plen = 0; \
(ptr)->coff = 0; \
(ptr)->clen = 0; \
(ptr)->type = 0; \
(ptr)->remaining = -1; \
(ptr)->data = NULL; \
redis_protocol_t *__tmp = (ptr); \
__tmp->poff = 0; \
__tmp->plen = 0; \
__tmp->coff = 0; \
__tmp->clen = 0; \
__tmp->type = 0; \
__tmp->remaining = -1; \
__tmp->data = NULL; \
} while(0)
#define PARSER_STATES(X) \
......
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