X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftal%2Ftest%2Frun.c;h=4931099e79049e3fa74ce316444f08a325633b3f;hp=984865125deca6538ea531b714a077dce3a05b87;hb=HEAD;hpb=8cf5b6208cad807228a69d695e6521122d4b71da diff --git a/ccan/tal/test/run.c b/ccan/tal/test/run.c index 98486512..4931099e 100644 --- a/ccan/tal/test/run.c +++ b/ccan/tal/test/run.c @@ -25,7 +25,7 @@ int main(void) /* Iteration test. */ i = 0; - for (p = tal_first(parent); p; p = tal_next(parent, p)) { + for (p = tal_first(parent); p; p = tal_next(p)) { *p = '1'; i++; }