summaryrefslogtreecommitdiff
path: root/src/rdb.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2012-04-09 12:36:44 +0200
committerantirez <antirez@gmail.com>2012-04-09 12:36:44 +0200
commit8491f1d9fdae0966a74bca4e28b653b42c3fcb4a (patch)
tree91fcf8605d2ebe63457b75e611738b684310b416 /src/rdb.c
parent46738646d4ef6b6ea97cf933d232177a05722100 (diff)
downloadredis-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rdb.c b/src/rdb.c
index 3f1e22520..3667f279e 100644
--- a/src/rdb.c
+++ b/src/rdb.c
@@ -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);
}