]> diplodocus.org Git - nmh/commitdiff
Make sure we include space in the list of characters we need to encode in
authorKen Hornstein <kenh@pobox.com>
Wed, 26 Feb 2014 02:30:52 +0000 (21:30 -0500)
committerKen Hornstein <kenh@pobox.com>
Wed, 26 Feb 2014 02:30:52 +0000 (21:30 -0500)
a parameter line.

h/mime.h

index fad1cf8822e614e4f86619af89cba26ca5ff23df..92d6462a828e2c0671177de62fc8e9b1e45a3c7a 100644 (file)
--- a/h/mime.h
+++ b/h/mime.h
@@ -46,7 +46,8 @@
 
 #define isparamencode(c)  (!isascii((unsigned char) c) || \
                           iscntrl((unsigned char) c) || istspecial(c) || \
-                          (c) == '*' || (c) == '\'' || (c) == '%')
+                          (c) == ' ' || (c) == '*' || (c) == '\'' || \
+                          (c) == '%')
 
 #define        MAXTEXTPERLN 78
 #define        MAXLONGLINE 998