snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 70b014606bd048caa0c0f7d3442c3e21fb58f0d3
parent 36ee16db1deaa2f75841a1d71d761a298a046008
Author: default <nobody@localhost>
Date:   Fri, 11 Aug 2023 22:05:56 +0200

Change filename order in srv_archive_error().

Diffstat:
Mdata.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data.c b/data.c @@ -2572,7 +2572,7 @@ void srv_archive_error(const char *prefix, const xs_str *err, /* archives an error */ { 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; if ((f = fopen(fn, "w")) != NULL) {