Fixed a few typos
This commit is contained in:
parent
bdbdb02edb
commit
dab5332f95
@ -997,7 +997,7 @@ int rdbLoad(char *filename) {
|
|||||||
if ((expiretime = rdbLoadTime(&rdb)) == -1) goto eoferr;
|
if ((expiretime = rdbLoadTime(&rdb)) == -1) goto eoferr;
|
||||||
/* We read the time so we need to read the object type again. */
|
/* We read the time so we need to read the object type again. */
|
||||||
if ((type = rdbLoadType(&rdb)) == -1) goto eoferr;
|
if ((type = rdbLoadType(&rdb)) == -1) goto eoferr;
|
||||||
/* the EXPIREITME opcode specifies time in seconds, so convert
|
/* the EXPIRETIME opcode specifies time in seconds, so convert
|
||||||
* into milliesconds. */
|
* into milliesconds. */
|
||||||
expiretime *= 1000;
|
expiretime *= 1000;
|
||||||
} else if (type == REDIS_RDB_OPCODE_EXPIRETIME_MS) {
|
} else if (type == REDIS_RDB_OPCODE_EXPIRETIME_MS) {
|
||||||
|
@ -77,7 +77,7 @@ off_t rdbSavedObjectLen(robj *o);
|
|||||||
off_t rdbSavedObjectPages(robj *o);
|
off_t rdbSavedObjectPages(robj *o);
|
||||||
robj *rdbLoadObject(int type, rio *rdb);
|
robj *rdbLoadObject(int type, rio *rdb);
|
||||||
void backgroundSaveDoneHandler(int exitcode, int bysignal);
|
void backgroundSaveDoneHandler(int exitcode, int bysignal);
|
||||||
int rdbSaveKeyValuePair(rio *rdb, robj *key, robj *val, long long expireitme, long long now);
|
int rdbSaveKeyValuePair(rio *rdb, robj *key, robj *val, long long expiretime, long long now);
|
||||||
robj *rdbLoadStringObject(rio *rdb);
|
robj *rdbLoadStringObject(rio *rdb);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user