aboutsummaryrefslogtreecommitdiff
path: root/src/cli/stasis_indexer/website.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-04-16 11:52:11 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-04-16 11:52:11 -0400
commitdc6b871b419159097c272fe21cdef6acece40a99 (patch)
tree1d2e4ef745106cb4a7a804698b45739a163cbe38 /src/cli/stasis_indexer/website.c
parentf40adf8259a9f034b6fff7abff047e9a746f7ec1 (diff)
downloadstasis-dc6b871b419159097c272fe21cdef6acece40a99.tar.gz
Convert more strcat and strcpy to strn variants
Diffstat (limited to 'src/cli/stasis_indexer/website.c')
-rw-r--r--src/cli/stasis_indexer/website.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/stasis_indexer/website.c b/src/cli/stasis_indexer/website.c
index e758d47..8a5126d 100644
--- a/src/cli/stasis_indexer/website.c
+++ b/src/cli/stasis_indexer/website.c
@@ -36,7 +36,7 @@ int indexer_make_website(struct Delivery **ctx) {
// Replace *.md extension with *.html.
strncpy(fullpath_dest, fullpath_src, sizeof(fullpath_dest) - 1);
- gen_file_extension_str(fullpath_dest, ".html");
+ gen_file_extension_str(fullpath_dest, sizeof(fullpath_dest), ".html");
// Convert markdown to html
if (pandoc_exec(fullpath_src, fullpath_dest, have_css ? css_filename : NULL, "STASIS")) {