summaryrefslogtreecommitdiff
path: root/gnu/dist/postfix/src/global
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/dist/postfix/src/global')
-rw-r--r--gnu/dist/postfix/src/global/Makefile.in1
-rw-r--r--gnu/dist/postfix/src/global/tok822_parse.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/gnu/dist/postfix/src/global/Makefile.in b/gnu/dist/postfix/src/global/Makefile.in
index a981d06f978..8f48d059fd8 100644
--- a/gnu/dist/postfix/src/global/Makefile.in
+++ b/gnu/dist/postfix/src/global/Makefile.in
@@ -1210,6 +1210,7 @@ tok822_parse.o: ../../include/sys_defs.h
tok822_parse.o: ../../include/vstring.h
tok822_parse.o: ../../include/vbuf.h
tok822_parse.o: ../../include/msg.h
+tok822_parse.o: ../../include/stringops.h
tok822_parse.o: lex_822.h
tok822_parse.o: quote_822_local.h
tok822_parse.o: quote_flags.h
diff --git a/gnu/dist/postfix/src/global/tok822_parse.c b/gnu/dist/postfix/src/global/tok822_parse.c
index fe554bf7ae2..4866ac5ad3d 100644
--- a/gnu/dist/postfix/src/global/tok822_parse.c
+++ b/gnu/dist/postfix/src/global/tok822_parse.c
@@ -126,6 +126,7 @@
#include <vstring.h>
#include <msg.h>
+#include <stringops.h>
/* Global library. */
@@ -250,7 +251,7 @@ static void strip_address(VSTRING *vp, int start, TOK822 *addr)
* Emit plain <address>. Discard any comments or phrases.
*/
msg_warn("stripping too many comments from address: %.100s...",
- vstring_str(vp) + start);
+ printable(vstring_str(vp) + start, '?'));
vstring_truncate(vp, start);
VSTRING_ADDCH(vp, '<');
if (addr) {
@@ -263,7 +264,6 @@ static void strip_address(VSTRING *vp, int start, TOK822 *addr)
VSTRING_ADDCH(vp, '>');
}
-
/* tok822_externalize - token tree to string, external form */
VSTRING *tok822_externalize(VSTRING *vp, TOK822 *tree, int flags)