summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authorGravatar default2022-11-24 09:15:06 +0100
committerGravatar default2022-11-24 09:15:06 +0100
commit6acf906b646a065f8876565821c959fe8bafa424 (patch)
tree21bd3054e1d84db86b06928485ae374ef0ccd670 /data.c
parentIn object_add(), update the parent's children index even if the parent isn't ... (diff)
downloadsnac2-6acf906b646a065f8876565821c959fe8bafa424.tar.gz
snac2-6acf906b646a065f8876565821c959fe8bafa424.tar.xz
snac2-6acf906b646a065f8876565821c959fe8bafa424.zip
Added debug info for child index updates.
Diffstat (limited to 'data.c')
-rw-r--r--data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/data.c b/data.c
index 259febf..70dcb0b 100644
--- a/data.c
+++ b/data.c
@@ -411,6 +411,8 @@ int object_add(const char *id, d_char *obj)
411 411
412 pfn = xs_replace_i(pfn, ".json", "_c.idx"); 412 pfn = xs_replace_i(pfn, ".json", "_c.idx");
413 index_add(pfn, id); 413 index_add(pfn, id);
414
415 srv_debug(0, xs_fmt("object_add added child %s to %s", id, pfn));
414 } 416 }
415 } 417 }
416 else 418 else