Browse Source

Move the ~/error directory to where it belongs.

default 2 years ago
parent
commit
1f949b48cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      http.c

+ 1 - 1
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) {