Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
d64575b2
Commit
d64575b2
authored
Jun 30, 2011
by
Pieter Noordhuis
Browse files
Stupid macro error
parent
cbe59756
Changes
1
Show whitespace changes
Inline
Side-by-side
parser.c
View file @
d64575b2
...
...
@@ -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) \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment