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) |
Notes
-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 7cddfa7597c6d..a0e9180a1fdc6 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) { |