Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
87055888
Commit
87055888
authored
Jul 12, 2011
by
Pieter Noordhuis
Browse files
Use macro
parent
b50af6c5
Changes
1
Show whitespace changes
Inline
Side-by-side
parser.c
View file @
87055888
...
@@ -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
;
...
...
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