diff options
author | antirez <antirez@gmail.com> | 2012-04-09 12:36:44 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2012-04-09 12:36:44 +0200 |
commit | 8491f1d9fdae0966a74bca4e28b653b42c3fcb4a (patch) | |
tree | 91fcf8605d2ebe63457b75e611738b684310b416 /src/rdb.c | |
parent | 46738646d4ef6b6ea97cf933d232177a05722100 (diff) | |
download | redis-8491f1d9fdae0966a74bca4e28b653b42c3fcb4a.tar.gz |
Fixed compilation of new rio.c changes (typos and so forth.)
Diffstat (limited to 'src/rdb.c')
-rw-r--r-- | src/rdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -717,7 +717,7 @@ robj *rdbLoadObject(int rdbtype, rio *rdb) { size_t len; unsigned int i; - redisLog(REDIS_DEBUG,"LOADING OBJECT %d (at %d)\n",rdbtype,rdbTell(rdb)); + redisLog(REDIS_DEBUG,"LOADING OBJECT %d (at %d)\n",rdbtype,rioTell(rdb)); if (rdbtype == REDIS_RDB_TYPE_STRING) { /* Read string value */ if ((o = rdbLoadEncodedStringObject(rdb)) == NULL) return NULL; @@ -1039,7 +1039,7 @@ int rdbLoad(char *filename) { /* Serve the clients from time to time */ if (!(loops++ % 1000)) { - loadingProgress(rdbTell(&rdb)); + loadingProgress(rioTell(&rdb)); aeProcessEvents(server.el, AE_FILE_EVENTS|AE_DONT_WAIT); } |