Prechádzať zdrojové kódy

Move the ~/error directory to where it belongs.

default 2 rokov pred
rodič
commit
1f949b48cf
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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) {