Fix outdated comments about redis.c file.

It should now refer to server.c file.
This commit is contained in:
francischan 2016-06-28 00:19:33 +08:00
parent dc18a6a6f8
commit 5fb5d82d5c
3 changed files with 3 additions and 3 deletions

View File

@ -710,7 +710,7 @@ int redis_check_rdb(char *rdbfilename) {
return 0;
}
/* RDB check main: called form redis.c when Redis is executed with the
/* RDB check main: called form server.c when Redis is executed with the
* redis-check-rdb alias. */
int redis_check_rdb_main(char **argv, int argc) {
if (argc != 2) {

View File

@ -2011,7 +2011,7 @@ void initServer(void) {
}
/* Populates the Redis Command Table starting from the hard coded list
* we have on top of redis.c file. */
* we have on top of server.c file. */
void populateCommandTable(void) {
int j;
int numcommands = sizeof(redisCommandTable)/sizeof(struct redisCommand);

View File

@ -177,7 +177,7 @@ typedef long long mstime_t; /* millisecond time type. */
/* Hash table parameters */
#define HASHTABLE_MIN_FILL 10 /* Minimal hash table fill 10% */
/* Command flags. Please check the command table defined in the redis.c file
/* Command flags. Please check the command table defined in the server.c file
* for more information about the meaning of every flag. */
#define CMD_WRITE (1<<0) /* "w" flag */
#define CMD_READONLY (1<<1) /* "r" flag */