]> git.ozlabs.org Git - ccan/commit
ccanlint: fix idempotent handler
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 15 Nov 2010 02:23:00 +0000 (12:53 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 15 Nov 2010 02:23:00 +0000 (12:53 +1030)
commitf1c96e9df6efed3c7a8d43495f1aa0bef6b5cefd
tree3904e41a748985e356995432c568921d56087faa
parentf9b11b0dffed4ee8e73c38fdb374ace75576e97e
ccanlint: fix idempotent handler

Test for inserting idempotent header was wrong way around, and we check
all headers at once, rather than finishing after one.

Also, turn - into _ rather than removing.
tools/ccanlint/tests/idempotent.c