summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2010-11-03 10:31:19 +0100
committerantirez <antirez@gmail.com>2010-11-03 10:31:19 +0100
commit297e77c6ab9f65fed7f7ee5baa26310071f6ce9e (patch)
tree71387c561ecd53269a0593a153b7689f2fafbaec /src/config.c
parent0a546fc01758f9a9f8b2113764c2cf963df6ef20 (diff)
downloadredis-297e77c6ab9f65fed7f7ee5baa26310071f6ce9e.tar.gz
Now it is possible to use quoted strings in the redis.conf file accordingly to the sdssplitargs() function capabilities.
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index bbe9d402b..d59381071 100644
--- a/src/config.c
+++ b/src/config.c
@@ -55,7 +55,7 @@ void loadServerConfig(char *filename) {
}
/* Split into arguments */
- argv = sdssplitlen(line,sdslen(line)," ",1,&argc);
+ argv = sdssplitargs(line,&argc);
sdstolower(argv[0]);
/* Execute config directives */