X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Frfc822%2Ftest%2Frun-hdr-and-body.c;h=b7f4e7f179f3d7b13278650e92de457e296cda28;hp=956a6bd6e17392e264029556558fd9d5e6166dbf;hb=HEAD;hpb=786fd5a12b2a0d7f167f5eebf83ff8b96e532c3f diff --git a/ccan/rfc822/test/run-hdr-and-body.c b/ccan/rfc822/test/run-hdr-and-body.c index 956a6bd6..b7f4e7f1 100644 --- a/ccan/rfc822/test/run-hdr-and-body.c +++ b/ccan/rfc822/test/run-hdr-and-body.c @@ -23,7 +23,8 @@ if (!(_h)) \ break; \ check_header((_msg), (_h), (_e)->hdrs[_i].name, \ - (_e)->hdrs[_i].val, crlf); \ + (_e)->hdrs[_i].val, \ + (_e)->hdrs[_i].errors, crlf); \ } \ } while (0) @@ -136,7 +137,7 @@ int main(int argc, char *argv[]) test_hdrbody(e, buf, len, exname, crlf); test_hdrhdr(e, buf, len, exname, crlf); - talloc_free(buf); + tal_free(buf); } }