From a7722dc31b3a10c6b6bd0fb388f5cbc424d35f33 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 8 Jan 2015 12:06:17 +0100 Subject: [PATCH] Typo fixed: fiels -> fields in rdbSaveInfoAuxFields(). Thx to @badboy. --- src/rdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rdb.c b/src/rdb.c index 6bfa0039..e33a5143 100644 --- a/src/rdb.c +++ b/src/rdb.c @@ -707,7 +707,7 @@ int rdbSaveAuxFieldStrInt(rio *rdb, char *key, long long val) { int rdbSaveInfoAuxFields(rio *rdb) { int redis_bits = (sizeof(void*) == 8) ? 64 : 32; - /* Add a few fiels about the state when the RDB was created. */ + /* Add a few fields about the state when the RDB was created. */ if (rdbSaveAuxFieldStrStr(rdb,"redis-ver",REDIS_VERSION) == -1) return -1; if (rdbSaveAuxFieldStrInt(rdb,"redis-bits",redis_bits) == -1) return -1; if (rdbSaveAuxFieldStrInt(rdb,"ctime",time(NULL)) == -1) return -1;