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
You need to sign in or sign up before continuing.
Commit
d64575b2
authored
Jun 30, 2011
by
Pieter Noordhuis
Browse files
Stupid macro error
parent
cbe59756
Changes
1
Hide whitespace changes
Inline
Side-by-side
parser.c
View file @
d64575b2
...
@@ -14,13 +14,14 @@
...
@@ -14,13 +14,14 @@
} while(0)
} while(0)
#define RESET_PROTOCOL_T(ptr) do { \
#define RESET_PROTOCOL_T(ptr) do { \
(ptr)->poff = 0; \
redis_protocol_t *__tmp = (ptr); \
(ptr)->plen = 0; \
__tmp->poff = 0; \
(ptr)->coff = 0; \
__tmp->plen = 0; \
(ptr)->clen = 0; \
__tmp->coff = 0; \
(ptr)->type = 0; \
__tmp->clen = 0; \
(ptr)->remaining = -1; \
__tmp->type = 0; \
(ptr)->data = NULL; \
__tmp->remaining = -1; \
__tmp->data = NULL; \
} while(0)
} while(0)
#define PARSER_STATES(X) \
#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