diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2012-11-01 14:26:01 -0700 |
---|---|---|
committer | Salvatore Sanfilippo <antirez@gmail.com> | 2012-11-01 14:26:01 -0700 |
commit | cc017c58398480b0b1976a58463954b4bfc084a4 (patch) | |
tree | 6f2ad3848f33b5b2c10e1e3f7e550ae4990eb0ae /src/redis.c | |
parent | b6ffa85f1128660bc742d8da9c4dc83bca5d9a91 (diff) | |
parent | ed44a74e720918d2b1ab68f3d50600af38d2a5af (diff) | |
download | redis-cc017c58398480b0b1976a58463954b4bfc084a4.tar.gz |
Merge pull request #743 from Cofyc/fixtypo
fix typo in comments (redis.c, networking.c)
Diffstat (limited to 'src/redis.c')
-rw-r--r-- | src/redis.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/redis.c b/src/redis.c index 463dc2aac..87f5e812f 100644 --- a/src/redis.c +++ b/src/redis.c @@ -1527,7 +1527,7 @@ void call(redisClient *c, int flags) { } /* If this function gets called we already read a whole - * command, argments are in the client argv/argc fields. + * command, arguments are in the client argv/argc fields. * processCommand() execute the command or prepare the * server for a bulk read from the client. * @@ -2175,7 +2175,7 @@ void infoCommand(redisClient *c) { } void monitorCommand(redisClient *c) { - /* ignore MONITOR if aleady slave or in monitor mode */ + /* ignore MONITOR if already slave or in monitor mode */ if (c->flags & REDIS_SLAVE) return; c->flags |= (REDIS_SLAVE|REDIS_MONITOR); @@ -2274,7 +2274,7 @@ int freeMemoryIfNeeded(void) { de = dictGetRandomKey(dict); thiskey = dictGetKey(de); - /* When policy is volatile-lru we need an additonal lookup + /* When policy is volatile-lru we need an additional lookup * to locate the real key, as dict is set to db->expires. */ if (server.maxmemory_policy == REDIS_MAXMEMORY_VOLATILE_LRU) de = dictFind(db->dict, thiskey); @@ -2576,7 +2576,7 @@ int main(int argc, char **argv) { redisAsciiArt(); if (!server.sentinel_mode) { - /* Things only needed when not runnign in Sentinel mode. */ + /* Things only needed when not running in Sentinel mode. */ redisLog(REDIS_WARNING,"Server started, Redis version " REDIS_VERSION); #ifdef __linux__ linuxOvercommitMemoryWarning(); |