]> git.saurik.com Git - redis.git/blobdiff - src/debug.c
AOF fileds in the global server state, and define names, renamed with more consistent...
[redis.git] / src / debug.c
index ec98bac01ca5f80364c7c774842d0f0afdfb5f63..bc496fb3f66a71a1e8d45c878e89cfc1c80f0501 100644 (file)
@@ -229,7 +229,7 @@ void debugCommand(redisClient *c) {
         addReply(c,shared.ok);
     } else if (!strcasecmp(c->argv[1]->ptr,"loadaof")) {
         emptyDb();
-        if (loadAppendOnlyFile(server.appendfilename) != REDIS_OK) {
+        if (loadAppendOnlyFile(server.aof_filename) != REDIS_OK) {
             addReply(c,shared.err);
             return;
         }