snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 1f949b48cf577a84402ab9c4cea9b94e168de861
parent 448c4ad7a26fbfac3f9bf68861672c4833cf72a2
Author: default <nobody@localhost>
Date:   Sun,  8 Jan 2023 10:04:01 +0100

Move the ~/error directory to where it belongs.

Diffstat:
Mhttp.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/http.c b/http.c @@ -213,7 +213,7 @@ int check_signature(snac *snac, char *req) error: { xs *ntid = tid(0); - xs *fn = xs_fmt("%s/error/check_signature_%s.json", snac->basedir, ntid); + xs *fn = xs_fmt("%s/error/check_signature_%s.json", srv_basedir, ntid); FILE *f; if ((f = fopen(fn, "w")) != NULL) {