regressions/ck_hs: Make set_replace in serial benchmark paranoid.

ck_pring
Samy Al Bahra 11 years ago
parent 01aa93f05a
commit 5201dc3d45

@ -133,7 +133,7 @@ set_replace(const char *value)
h = CK_HS_HASH(&hs, hs_hash, value);
ck_hs_set(&hs, h, value, &previous);
return previous != NULL;
return previous == value;
}
static void *

Loading…
Cancel
Save