mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Typo fixed: fiels -> fields in rdbSaveInfoAuxFields().
Thx to @badboy.
This commit is contained in:
parent
4c0e8923a6
commit
a7722dc31b
@ -707,7 +707,7 @@ int rdbSaveAuxFieldStrInt(rio *rdb, char *key, long long val) {
|
|||||||
int rdbSaveInfoAuxFields(rio *rdb) {
|
int rdbSaveInfoAuxFields(rio *rdb) {
|
||||||
int redis_bits = (sizeof(void*) == 8) ? 64 : 32;
|
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 (rdbSaveAuxFieldStrStr(rdb,"redis-ver",REDIS_VERSION) == -1) return -1;
|
||||||
if (rdbSaveAuxFieldStrInt(rdb,"redis-bits",redis_bits) == -1) return -1;
|
if (rdbSaveAuxFieldStrInt(rdb,"redis-bits",redis_bits) == -1) return -1;
|
||||||
if (rdbSaveAuxFieldStrInt(rdb,"ctime",time(NULL)) == -1) return -1;
|
if (rdbSaveAuxFieldStrInt(rdb,"ctime",time(NULL)) == -1) return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user