Explorar o código

Change filename order in srv_archive_error().

default %!s(int64=3) %!d(string=hai) anos
pai
achega
70b014606b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      data.c

+ 1 - 1
data.c

@@ -2572,7 +2572,7 @@ void srv_archive_error(const char *prefix, const xs_str *err,
 /* archives an error */
 /* archives an error */
 {
 {
     xs *ntid = tid(0);
     xs *ntid = tid(0);
-    xs *fn   = xs_fmt("%s/error/%s_%s", srv_basedir, prefix, ntid);
+    xs *fn   = xs_fmt("%s/error/%s_%s", srv_basedir, ntid, prefix);
     FILE *f;
     FILE *f;
 
 
     if ((f = fopen(fn, "w")) != NULL) {
     if ((f = fopen(fn, "w")) != NULL) {