]> git.ozlabs.org Git - ccan/blobdiff - ccan/rfc822/test/run-hdr-and-body.c
base64: fix for unsigned chars (e.g. ARM).
[ccan] / ccan / rfc822 / test / run-hdr-and-body.c
index 956a6bd6e17392e264029556558fd9d5e6166dbf..b7f4e7f179f3d7b13278650e92de457e296cda28 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)
 
@@ -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);
                }
        }