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
fb8734fe
Commit
fb8734fe
authored
May 03, 2017
by
antirez
Browse files
Module: fix RedisModule_Call() "l" specifier to create a raw string.
parent
c4b88495
Changes
1
Show whitespace changes
Inline
Side-by-side
src/module.c
View file @
fb8734fe
...
...
@@ -2448,7 +2448,7 @@ robj **moduleCreateArgvFromUserFormat(const char *cmdname, const char *fmt, int
argv[argc++] = createStringObject(buf,len);
} else if (*p == 'l') {
long ll = va_arg(ap,long long);
argv[argc++] = create
StringObjectF
rom
L
ong
L
ong(ll);
argv[argc++] = create
Object(OBJ_STRING,sdsf
rom
l
ong
l
ong(ll)
)
;
} else if (*p == 'v') {
/* A vector of strings */
robj **v = va_arg(ap, void*);
...
...
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