summaryrefslogtreecommitdiff
path: root/adif.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-03-04 22:46:54 +0000
committerDave Hibberd <hibby@debian.org>2025-03-04 22:46:54 +0000
commitf0b507a096d65291aedcc9f98cde1d7b8aabc024 (patch)
tree93b91137e30825ba7fbb690c29d700fba88394ad /adif.c
parent9d0d20064dd879c2967a86ef0b6751c563d80196 (diff)
parentb128f2a43a16acef50de045ae6526772c04c395e (diff)
Update upstream source from tag 'upstream/6.0.24.66+repack'
Update to upstream version '6.0.24.66+repack' with Debian dir 0a1e01b2c4f9c8b665a31c0f8523e8fa0e88b6be
Diffstat (limited to 'adif.c')
-rw-r--r--adif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/adif.c b/adif.c
index 45e734d..6fab6fc 100644
--- a/adif.c
+++ b/adif.c
@@ -409,8 +409,7 @@ BOOL WriteADIFRecord(ADIF * ADIF)
strcat(Value, "logs/BPQ_CMS_ADIF");
}
- sprintf(Value, "%s_%04d%02d.adi", Value,
- tm->tm_year +1900, tm->tm_mon+1);
+ sprintf(&Value[strlen(Value)], "_%04d%02d.adi", tm->tm_year +1900, tm->tm_mon+1);
STAT.st_size = 0;
stat(Value, &STAT);