Kaynağa Gözat

Move the ~/error directory to where it belongs.

default 3 yıl önce
ebeveyn
işleme
1f949b48cf
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      http.c

+ 1 - 1
http.c

@@ -213,7 +213,7 @@ int check_signature(snac *snac, char *req)
 error:
 error:
     {
     {
         xs *ntid = tid(0);
         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;
         FILE *f;
 
 
         if ((f = fopen(fn, "w")) != NULL) {
         if ((f = fopen(fn, "w")) != NULL) {