Move the ~/error directory to where it belongs.

This commit is contained in:
default 2023-01-08 10:04:01 +01:00
parent 448c4ad7a2
commit 1f949b48cf

2
http.c
View File

@ -213,7 +213,7 @@ int check_signature(snac *snac, char *req)
error: error:
{ {
xs *ntid = tid(0); 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; FILE *f;
if ((f = fopen(fn, "w")) != NULL) { if ((f = fopen(fn, "w")) != NULL) {