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
553aa0e2
Commit
553aa0e2
authored
Oct 13, 2016
by
antirez
Browse files
module.c: trim comment to 80 cols.
parent
870274be
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/module.c
View file @
553aa0e2
...
@@ -752,11 +752,11 @@ RedisModuleString *RM_CreateString(RedisModuleCtx *ctx, const char *ptr, size_t
...
@@ -752,11 +752,11 @@ RedisModuleString *RM_CreateString(RedisModuleCtx *ctx, const char *ptr, size_t
}
}
/* Create a new module string object from a printf format and arguments.
/* Create a new module string object from a printf format and arguments.
* The returned string must be freed with RedisModule_FreeString(), unless
automatic
* The returned string must be freed with RedisModule_FreeString(), unless
* memory is enabled.
*
automatic
memory is enabled.
*
*
* The string is created using the sds formatter function sdscatvprintf() */
* The string is created using the sds formatter function sdscatvprintf()
.
*/
RedisModuleString
*
RM_CreateStringPrintf
(
RedisModuleCtx
*
ctx
,
const
char
*
fmt
,
...)
{
RedisModuleString
*
RM_CreateStringPrintf
(
RedisModuleCtx
*
ctx
,
const
char
*
fmt
,
...)
{
sds
s
=
sdsempty
();
sds
s
=
sdsempty
();
...
...
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