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
f28872ca
Commit
f28872ca
authored
Jan 05, 2015
by
Matt Stancliff
Browse files
Cleanup tabs and end of line whitespace
parent
dad05164
Changes
2
Hide whitespace changes
Inline
Side-by-side
hiredis.c
View file @
f28872ca
...
...
@@ -620,10 +620,10 @@ void redisFree(redisContext *c) {
}
int
redisFreeKeepFd
(
redisContext
*
c
)
{
int
fd
=
c
->
fd
;
c
->
fd
=
-
1
;
redisFree
(
c
);
return
fd
;
int
fd
=
c
->
fd
;
c
->
fd
=
-
1
;
redisFree
(
c
);
return
fd
;
}
/* Connect to a Redis instance. On error the field error in the returned
...
...
sds.c
View file @
f28872ca
...
...
@@ -123,7 +123,7 @@ void sdsclear(sds s) {
/* Enlarge the free space at the end of the sds string so that the caller
* is sure that after calling this function can overwrite up to addlen
* bytes after the end of the string, plus one more byte for nul term.
*
*
* Note: this does not change the *length* of the sds string as returned
* by sdslen(), but only the free buffer space we have. */
sds
sdsMakeRoomFor
(
sds
s
,
size_t
addlen
)
{
...
...
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