diff options
| author | 2025-09-12 21:56:53 +0200 | |
|---|---|---|
| committer | 2025-09-12 21:56:53 +0200 | |
| commit | f971a59599399332c1249c2f99e45973523d476f (patch) | |
| tree | 7190c4624a7004aaacec5203987de7131a61d4e1 | |
| parent | New function instance_failure(). (diff) | |
| download | penes-snac2-f971a59599399332c1249c2f99e45973523d476f.tar.gz penes-snac2-f971a59599399332c1249c2f99e45973523d476f.tar.xz penes-snac2-f971a59599399332c1249c2f99e45973523d476f.zip | |
Fixed bug in instance_failure() path.
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -3054,7 +3054,7 @@ int instance_failure(const char *url, int op) | |||
| 3054 | return 0; | 3054 | return 0; |
| 3055 | 3055 | ||
| 3056 | xs *md5 = xs_md5_hex(hostname, strlen(hostname)); | 3056 | xs *md5 = xs_md5_hex(hostname, strlen(hostname)); |
| 3057 | xs *fn = xs_fmt("%s/%s", srv_basedir, md5); | 3057 | xs *fn = xs_fmt("%s/failure/%s", srv_basedir, md5); |
| 3058 | 3058 | ||
| 3059 | switch (op) { | 3059 | switch (op) { |
| 3060 | case 0: /** check **/ | 3060 | case 0: /** check **/ |