rfc822: Move check_header into helper.c
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 3 Oct 2012 13:20:46 +0000 (23:20 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 3 Oct 2012 13:20:46 +0000 (23:20 +1000)
commit786fd5a12b2a0d7f167f5eebf83ff8b96e532c3f
treea78a88c66f086a958fdf1ef0829e4888a6b05c8f
parentaffb2280db6983da455a73a2dd078f1d3f0e7268
rfc822: Move check_header into helper.c

The check_header() test function will be useful to more than one testcase
so this patch moves it into the common helper.c file.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/rfc822/test/helper.c
ccan/rfc822/test/helper.h
ccan/rfc822/test/run-hdr-and-body.c