rfc822: Allow test infrastructure to handle headers with minor errors
[ccan] / ccan / rfc822 / test / run-hdr-and-body.c
index 956a6bd6e17392e264029556558fd9d5e6166dbf..25e66cc2fd1330b2f31ccc3e51cdfc4778cd0f63 100644 (file)
@@ -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)