X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftal%2Ftest%2Frun.c;h=4931099e79049e3fa74ce316444f08a325633b3f;hb=e81b527384ad5331a9cd35a9f21bc8ac6b16d137;hp=984865125deca6538ea531b714a077dce3a05b87;hpb=5e37a0febfb89a2535f2eb9f0ea06a5546a39234;p=ccan 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++; }