diff options
| author | 2023-08-11 22:05:56 +0200 | |
|---|---|---|
| committer | 2023-08-11 22:05:56 +0200 | |
| commit | 70b014606bd048caa0c0f7d3442c3e21fb58f0d3 (patch) | |
| tree | 95134541ccf85e8909cf819ad0e7ae2fcab3c588 /data.c | |
| parent | Archive JSON errors in activitypub_post_handler. (diff) | |
| download | snac2-70b014606bd048caa0c0f7d3442c3e21fb58f0d3.tar.gz snac2-70b014606bd048caa0c0f7d3442c3e21fb58f0d3.tar.xz snac2-70b014606bd048caa0c0f7d3442c3e21fb58f0d3.zip | |
Change filename order in srv_archive_error().
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2572,7 +2572,7 @@ void srv_archive_error(const char *prefix, const xs_str *err, | |||
| 2572 | /* archives an error */ | 2572 | /* archives an error */ |
| 2573 | { | 2573 | { |
| 2574 | xs *ntid = tid(0); | 2574 | xs *ntid = tid(0); |
| 2575 | xs *fn = xs_fmt("%s/error/%s_%s", srv_basedir, prefix, ntid); | 2575 | xs *fn = xs_fmt("%s/error/%s_%s", srv_basedir, ntid, prefix); |
| 2576 | FILE *f; | 2576 | FILE *f; |
| 2577 | 2577 | ||
| 2578 | if ((f = fopen(fn, "w")) != NULL) { | 2578 | if ((f = fopen(fn, "w")) != NULL) { |