diff options
| author | root <[email protected]> | 2024-09-14 11:29:12 +0000 |
|---|---|---|
| committer | root <[email protected]> | 2024-09-14 11:29:12 +0000 |
| commit | 20de47c873c226ffa1717e5d6ad47ac4ce4c8d1b (patch) | |
| tree | 828fa14bb1e28ed44a06df850ae63602ac7121ca /test/test_utils.cpp | |
| parent | feb1576545e9eb98154d595f5746a2b68144658a (diff) | |
run first test case success
Diffstat (limited to 'test/test_utils.cpp')
| -rw-r--r-- | test/test_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_utils.cpp b/test/test_utils.cpp index 1cfbfd7..4ba704c 100644 --- a/test/test_utils.cpp +++ b/test/test_utils.cpp @@ -68,7 +68,7 @@ int write_json_to_redis(const char *json_filename, char *redis_ip, int redis_por return -1; } - convert_maat_json_rule(json_root, (unsigned char *)json_buff); + convert_maat_json_rule(&json_root, (unsigned char *)json_buff); redisContext *c = maat_connect_redis(redis_ip, redis_port, redis_db, logger); if (NULL == c) { |
