summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authorGravatar default2023-01-08 10:04:01 +0100
committerGravatar default2023-01-08 10:04:01 +0100
commit1f949b48cf577a84402ab9c4cea9b94e168de861 (patch)
tree592efe24f5ee7d8d36b662122a36bc36d1b5e56a /http.c
parentThe headers of signature errors are archived in the ~/error directory (if exi... (diff)
downloadsnac2-1f949b48cf577a84402ab9c4cea9b94e168de861.tar.gz
snac2-1f949b48cf577a84402ab9c4cea9b94e168de861.tar.xz
snac2-1f949b48cf577a84402ab9c4cea9b94e168de861.zip
Move the ~/error directory to where it belongs.
Diffstat (limited to '')
-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)
213error: 213error:
214 { 214 {
215 xs *ntid = tid(0); 215 xs *ntid = tid(0);
216 xs *fn = xs_fmt("%s/error/check_signature_%s.json", snac->basedir, ntid); 216 xs *fn = xs_fmt("%s/error/check_signature_%s.json", srv_basedir, ntid);
217 FILE *f; 217 FILE *f;
218 218
219 if ((f = fopen(fn, "w")) != NULL) { 219 if ((f = fopen(fn, "w")) != NULL) {