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
redis
Commits
781f3fd8
Commit
781f3fd8
authored
Sep 06, 2019
by
suntiawnen
Browse files
fix rdb function rdbLoadIntegerObject comment
parent
86aade9a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/rdb.c
View file @
781f3fd8
...
@@ -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