From: Stephen Seo Date: Mon, 9 Sep 2024 02:32:05 +0000 (+0900) Subject: Update third-party submodule SimpleArchiver X-Git-Tag: 1.0~60 X-Git-Url: https://git.seodisparate.com/stephenseo/search/main.js?a=commitdiff_plain;h=2791714f2c86029323b48e1bb3cae726e243ca3a;p=c_simple_http Update third-party submodule SimpleArchiver Also fixes related to the updated third-party submodule. --- 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