X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8a14191c0a0ad15bb8f35b49748c75c1e0a8c2f4..2b60a54adb3b0bf5a9b927708085492b816a6015:/sbr/encode_rfc2047.c diff --git a/sbr/encode_rfc2047.c b/sbr/encode_rfc2047.c index d964cbde..75b5808f 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,7 @@ #include #include #include +#include "unquote.h" /* * List of headers that contain addresses and as a result require special @@ -289,7 +289,7 @@ field_encode_quoted(const char *name, char **value, const char *charset, if (q == NULL) { /* This should never happen, but just in case. Found by clang static analyzer. */ - admonish (NULL, "null output encoding for %s", *value); + inform("null output encoding for %s, continuing...", *value); return 1; } *q++ = '?'; @@ -737,7 +737,7 @@ do_reformat: if (groupflag && ! mn->m_ingrp) { output = add(";", output); - column += 1; + column++; } groupflag = mn->m_ingrp;