summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-01-08 10:04:01 +0100
committerdefault <nobody@localhost>2023-01-08 10:04:01 +0100
commit1f949b48cf577a84402ab9c4cea9b94e168de861 (patch)
tree592efe24f5ee7d8d36b662122a36bc36d1b5e56a /http.c
parent448c4ad7a26fbfac3f9bf68861672c4833cf72a2 (diff)
Move the ~/error directory to where it belongs.
Diffstat (limited to 'http.c')
-rw-r--r--http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.c b/http.c
index 18c4e47..1b9fc71 100644
--- 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) {