summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/main.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2023-05-26 14:57:39 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2023-05-26 14:57:39 +0000
commit90c77ea7ca1567e33297e846767082ccc8d15afd (patch)
tree8ae3af0f0505f975f2ce79cd99fe7e9127dfd5be /usr.sbin/rpki-client/main.c
parentca91f4690272b041516a857b2b5ebc0788fed2bb (diff)
Properly account del_extra_files and add the value to the json header.
OK tb@ (from a larger diff)
Diffstat (limited to 'usr.sbin/rpki-client/main.c')
-rw-r--r--usr.sbin/rpki-client/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c
index 897b9a3548e..df16465d4fc 100644
--- a/usr.sbin/rpki-client/main.c
+++ b/usr.sbin/rpki-client/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.237 2023/05/25 12:52:56 claudio Exp $ */
+/* $OpenBSD: main.c,v 1.238 2023/05/26 14:57:38 claudio Exp $ */
/*
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -755,6 +755,7 @@ sum_repostats(const struct repo *rp, const struct repostats *in, void *arg)
out->del_files += in->del_files;
out->extra_files += in->extra_files;
+ out->del_extra_files += in->del_extra_files;
out->del_dirs += in->del_dirs;
timespecadd(&in->sync_time, &out->sync_time, &out->sync_time);
}