aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2017-02-28 23:24:08 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2017-02-28 23:24:08 +0000
commit9f13174209805996408a614a396c3ba7f0bac6a7 (patch)
tree820e9e4a7488555daa8e46a819afbc277eecb9f3
parentb8af8045a1e97030efa1e39fa489743912634e71 (diff)
downloadsrc-9f13174209805996408a614a396c3ba7f0bac6a7.tar.gz
src-9f13174209805996408a614a396c3ba7f0bac6a7.zip
Import CK as of commit 24d26965d1a28039062ba3bcf9433b623f3d2c5e, to getvendor/ck/20170228
a fix in ck_epoch
Notes
Notes: svn path=/vendor-sys/ck/dist/; revision=314432 svn path=/vendor-sys/ck/20170228/; revision=314434; tag=vendor/ck/20170228
-rw-r--r--src/ck_epoch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ck_epoch.c b/src/ck_epoch.c
index 7cddfa7597c6..a0e9180a1fdc 100644
--- a/src/ck_epoch.c
+++ b/src/ck_epoch.c
@@ -309,11 +309,12 @@ ck_epoch_scan(struct ck_epoch *global,
{
ck_stack_entry_t *cursor;
- *af = false;
if (cr == NULL) {
cursor = CK_STACK_FIRST(&global->records);
+ *af = false;
} else {
cursor = &cr->record_next;
+ *af = true;
}
while (cursor != NULL) {