From 2791714f2c86029323b48e1bb3cae726e243ca3a Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 9 Sep 2024 11:32:05 +0900 Subject: [PATCH] Update third-party submodule SimpleArchiver Also fixes related to the updated third-party submodule. --- src/config.c | 6 +++--- third_party/SimpleArchiver | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config.c b/src/config.c index 7338146..f733bde 100644 --- a/src/config.c +++ b/src/config.c @@ -132,7 +132,7 @@ strncpy((char*)key, separating_key, separating_key_size); \ unsigned char *value = malloc(value_idx); \ memcpy(value, value_buf, value_idx); \ - if (simple_archiver_hash_map_insert(&hash_map, \ + if (simple_archiver_hash_map_insert(hash_map, \ value, \ key, \ separating_key_size, \ @@ -152,7 +152,7 @@ wrapper->paths = hash_map; \ \ if (simple_archiver_hash_map_insert( \ - &config.hash_map, \ + config.hash_map, \ wrapper, \ value, \ value_idx, \ @@ -196,7 +196,7 @@ unsigned char *value = malloc(value_idx); \ memcpy(value, value_buf, value_idx); \ \ - if (simple_archiver_hash_map_insert(&hash_map_wrapper->paths, \ + if (simple_archiver_hash_map_insert(hash_map_wrapper->paths, \ value, \ key, \ key_idx, \ diff --git a/third_party/SimpleArchiver b/third_party/SimpleArchiver index 425fa77..3408183 160000 --- a/third_party/SimpleArchiver +++ b/third_party/SimpleArchiver @@ -1 +1 @@ -Subproject commit 425fa7790016d96e11d31407d697540d6893edf9 +Subproject commit 3408183b3923e0e05811984a33260a7b80b15146