]> git.seodisparate.com - c_simple_http/commitdiff
Update third-party submodule SimpleArchiver
authorStephen Seo <seo.disparate@gmail.com>
Mon, 9 Sep 2024 02:32:05 +0000 (11:32 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Mon, 9 Sep 2024 02:32:05 +0000 (11:32 +0900)
Also fixes related to the updated third-party submodule.

src/config.c
third_party/SimpleArchiver

index 7338146a0b4c5de3c71cc5e0ce0165456c865ab4..f733bde92469e7aead2c84bb14259e28cef34117 100644 (file)
     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, \
     wrapper->paths = hash_map; \
  \
     if (simple_archiver_hash_map_insert( \
-        &config.hash_map, \
+        config.hash_map, \
         wrapper, \
         value, \
         value_idx, \
     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, \
index 425fa7790016d96e11d31407d697540d6893edf9..3408183b3923e0e05811984a33260a7b80b15146 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 425fa7790016d96e11d31407d697540d6893edf9
+Subproject commit 3408183b3923e0e05811984a33260a7b80b15146