summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2013-01-27 09:49:15 +0200
committerYossi Gottlieb <yossigo@gmail.com>2013-01-27 09:49:15 +0200
commitacb73e8a972adadd31450dca9ab8cf74cc82a029 (patch)
treeccd1ca55a85aec0af719c8ed1012f13883cd6c15 /src/config.c
parentd195e8bb8225bae62b8a714b9c02a472bc601e2f (diff)
parentc17a7f6fbc82dc6ab34a788f65adc16e84b5777c (diff)
downloadredis-acb73e8a972adadd31450dca9ab8cf74cc82a029.tar.gz
Merge upstream Redis 2.6.9.2.6.9-1
Diffstat (limited to 'src/config.c')
-rwxr-xr-xsrc/config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.c b/src/config.c
index 43c042698..71157313c 100755
--- a/src/config.c
+++ b/src/config.c
@@ -348,7 +348,7 @@ void loadServerConfigFromString(char *config) {
goto loaderr;
}
- /* If the target command name is the emtpy string we just
+ /* If the target command name is the empty string we just
* remove it from the command table. */
retval = dictDelete(server.commands, argv[1]);
redisAssert(retval == DICT_OK);
@@ -386,7 +386,7 @@ void loadServerConfigFromString(char *config) {
soft = memtoll(argv[3],NULL);
soft_seconds = atoi(argv[4]);
if (soft_seconds < 0) {
- err = "Negative number of seconds in soft limt is invalid";
+ err = "Negative number of seconds in soft limit is invalid";
goto loaderr;
}
server.client_obuf_limits[class].hard_limit_bytes = hard;
@@ -431,7 +431,7 @@ loaderr:
* in the 'options' string to the config file before loading.
*
* Both filename and options can be NULL, in such a case are considered
- * emtpy. This way loadServerConfig can be used to just load a file or
+ * empty. This way loadServerConfig can be used to just load a file or
* just load a string. */
void loadServerConfig(char *filename, char *options) {
sds config = sdsempty();