Преглед изворни кода

Move the ~/error directory to where it belongs.

default пре 3 година
родитељ
комит
1f949b48cf
1 измењених фајлова са 1 додато и 1 уклоњено
  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) {