diff options
| author | 2023-01-08 10:04:01 +0100 | |
|---|---|---|
| committer | 2023-01-08 10:04:01 +0100 | |
| commit | 1f949b48cf577a84402ab9c4cea9b94e168de861 (patch) | |
| tree | 592efe24f5ee7d8d36b662122a36bc36d1b5e56a /http.c | |
| parent | The headers of signature errors are archived in the ~/error directory (if exi... (diff) | |
| download | penes-snac2-1f949b48cf577a84402ab9c4cea9b94e168de861.tar.gz penes-snac2-1f949b48cf577a84402ab9c4cea9b94e168de861.tar.xz penes-snac2-1f949b48cf577a84402ab9c4cea9b94e168de861.zip | |
Move the ~/error directory to where it belongs.
Diffstat (limited to 'http.c')
| -rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -213,7 +213,7 @@ int check_signature(snac *snac, char *req) | |||
| 213 | error: | 213 | error: |
| 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) { |