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
3976f4c8
Unverified
Commit
3976f4c8
authored
Sep 20, 2019
by
Salvatore Sanfilippo
Committed by
GitHub
Sep 20, 2019
Browse files
Merge pull request #6368 from suntw2015/unstable
fix rdb function rdbLoadIntegerObject comment
parents
d0050db2
781f3fd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/rdb.c
View file @
3976f4c8
...
@@ -260,7 +260,7 @@ int rdbEncodeInteger(long long value, unsigned char *enc) {
...
@@ -260,7 +260,7 @@ int rdbEncodeInteger(long long value, unsigned char *enc) {
/* Loads an integer-encoded object with the specified encoding type "enctype".
/* Loads an integer-encoded object with the specified encoding type "enctype".
* The returned value changes according to the flags, see
* The returned value changes according to the flags, see
* rdbGeneri
n
cLoadStringObject() for more info. */
* rdbGenericLoadStringObject() for more info. */
void
*
rdbLoadIntegerObject
(
rio
*
rdb
,
int
enctype
,
int
flags
,
size_t
*
lenptr
)
{
void
*
rdbLoadIntegerObject
(
rio
*
rdb
,
int
enctype
,
int
flags
,
size_t
*
lenptr
)
{
int
plain
=
flags
&
RDB_LOAD_PLAIN
;
int
plain
=
flags
&
RDB_LOAD_PLAIN
;
int
sds
=
flags
&
RDB_LOAD_SDS
;
int
sds
=
flags
&
RDB_LOAD_SDS
;
...
...
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