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
redis
Commits
b9031458
Commit
b9031458
authored
Nov 08, 2011
by
antirez
Browse files
useless double if removed.
parent
b0a2e340
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networking.c
View file @
b9031458
...
...
@@ -774,11 +774,10 @@ int processMultibulkBuffer(redisClient *c) {
* avoiding a large copy of data. */
c
->
querybuf
=
sdsrange
(
c
->
querybuf
,
pos
,
-
1
);
pos
=
0
;
}
/* Hint the sds library about the amount of bytes this string is
* going to contain. */
if
(
ll
>=
REDIS_MBULK_BIG_ARG
)
/* Hint the sds library about the amount of bytes this string is
* going to contain. */
c
->
querybuf
=
sdsMakeRoomFor
(
c
->
querybuf
,
ll
+
2
);
}
c
->
bulklen
=
ll
;
}
...
...
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