diff options
author | Olivier Houchard <cognet@FreeBSD.org> | 2017-02-28 23:24:08 +0000 |
---|---|---|
committer | Olivier Houchard <cognet@FreeBSD.org> | 2017-02-28 23:24:08 +0000 |
commit | 9f13174209805996408a614a396c3ba7f0bac6a7 (patch) | |
tree | 820e9e4a7488555daa8e46a819afbc277eecb9f3 | |
parent | b8af8045a1e97030efa1e39fa489743912634e71 (diff) |
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.c | 3 |
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) { |