X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftal%2Ftest%2Frun-overflow.c;h=d975398b4ba39b9e55ef35a57b18537aa514bbc8;hp=e68c0471b9d7e4c49ee7568786be9dc726354586;hb=e81b527384ad5331a9cd35a9f21bc8ac6b16d137;hpb=5e37a0febfb89a2535f2eb9f0ea06a5546a39234;ds=sidebyside diff --git a/ccan/tal/test/run-overflow.c b/ccan/tal/test/run-overflow.c index e68c0471..d975398b 100644 --- a/ccan/tal/test/run-overflow.c +++ b/ccan/tal/test/run-overflow.c @@ -48,7 +48,7 @@ int main(void) (size_t)-1UL / sizeof(int) / 2); ok1(!pi); ok1(error_count == 4); - ok1(tal_first(NULL) == origpi && !tal_next(NULL, origpi)); + ok1(tal_first(NULL) == origpi && !tal_next(origpi) && !tal_first(origpi)); tal_free(origpi); /* Now, check that with taltk() we free old one on failure. */