X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fe86b6d55ac470e6e832c53ea2c71e680efe5274..c576ad2674c37a1c63f004c71049998f38854c64:/sbr/encode_rfc2047.c diff --git a/sbr/encode_rfc2047.c b/sbr/encode_rfc2047.c index 2d9dde3a..0ded2e93 100644 --- a/sbr/encode_rfc2047.c +++ b/sbr/encode_rfc2047.c @@ -1,5 +1,4 @@ -/* - * Routines to encode message headers using RFC 2047-encoding. +/* encode_rfc2047.c -- encode message headers using RFC 2047 encoding. * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -10,6 +9,8 @@ #include #include #include +#include "base64.h" +#include "unquote.h" /* * List of headers that contain addresses and as a result require special @@ -737,7 +738,7 @@ do_reformat: if (groupflag && ! mn->m_ingrp) { output = add(";", output); - column += 1; + column++; } groupflag = mn->m_ingrp; @@ -798,8 +799,8 @@ do_reformat: output = NULL; out: - mh_xfree(tmpbuf); - mh_xfree(output); + free(tmpbuf); + free(output); return errflag > 0; }