summaryrefslogtreecommitdiffstats
path: root/qsutil.c
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2017-08-17 13:17:22 +0200
committermanuel <manuel@mausz.at>2017-08-17 13:17:22 +0200
commit1cafb5eab0b30e5f5a05737a075123af53153cb1 (patch)
treec6d4774169f7676385eca916eef3e4087693e0a2 /qsutil.c
parent3ee3b980a23b79479a650343a0fa876f68cad4bc (diff)
downloadqmail-1cafb5eab0b30e5f5a05737a075123af53153cb1.tar.gz
qmail-1cafb5eab0b30e5f5a05737a075123af53153cb1.tar.bz2
qmail-1cafb5eab0b30e5f5a05737a075123af53153cb1.zip
add support for SMTPUTF8
Diffstat (limited to 'qsutil.c')
-rw-r--r--qsutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qsutil.c b/qsutil.c
index a769829..43890d0 100644
--- a/qsutil.c
+++ b/qsutil.c
@@ -24,11 +24,11 @@ void nomem() { log1("alert: out of memory, sleeping...\n"); sleep(10); }
24void pausedir(dir) char *dir; 24void pausedir(dir) char *dir;
25{ log3("alert: unable to opendir ",dir,", sleeping...\n"); sleep(10); } 25{ log3("alert: unable to opendir ",dir,", sleeping...\n"); sleep(10); }
26 26
27static int issafe(ch) char ch; 27static int issafe(ch) unsigned char ch;
28{ 28{
29 if (ch == '%') return 0; /* general principle: allman's code is crap */ 29 if (ch == '%') return 0; /* general principle: allman's code is crap */
30 if (ch < 33) return 0; 30 if (ch < 33) return 0;
31 if (ch > 126) return 0; 31 if (ch > 126 && ch <= 127) return 0;
32 return 1; 32 return 1;
33} 33}
34 34