summaryrefslogtreecommitdiff
path: root/tools/maat_redis_tool.cpp
diff options
context:
space:
mode:
authorzhengchao <[email protected]>2018-12-15 21:12:12 +0600
committerzhengchao <[email protected]>2018-12-15 21:12:12 +0600
commit2263b4edb141cf7a367d4ef6e92f80d414cde05f (patch)
tree0c94e416863a40152245ecd1ca4b61757b770ff7 /tools/maat_redis_tool.cpp
parent9a6574785325bb76eb37cd7f11fc65b08e9e0a43 (diff)
修正maat_redis_tool屏幕打印漏掉最后一个文件名的bug。
Diffstat (limited to 'tools/maat_redis_tool.cpp')
-rw-r--r--tools/maat_redis_tool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/maat_redis_tool.cpp b/tools/maat_redis_tool.cpp
index 0d21dbb..0607250 100644
--- a/tools/maat_redis_tool.cpp
+++ b/tools/maat_redis_tool.cpp
@@ -148,6 +148,7 @@ void read_rule_from_redis(redisContext * ctx, long long desire_version, const ch
table_fp=NULL;
fprintf(index_fp,"%s\t%d\t%s\n",cur_table,line_count,table_path);
set_file_rulenum(table_path,line_count, logger);
+ printf("Written table %s\n",table_path);
printf("Written complete: %s\n",index_path);
clean_up: