mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 01:03:37 +00:00
Change filename order in srv_archive_error().
This commit is contained in:
parent
36ee16db1d
commit
70b014606b
1 changed files with 1 additions and 1 deletions
2
data.c
2
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) {
|
||||
|
|
Loading…
Reference in a new issue