mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Change filename order in srv_archive_error().
This commit is contained in:
parent
36ee16db1d
commit
70b014606b
2
data.c
2
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user