summaryrefslogtreecommitdiffstats
path: root/qsutil.c
diff options
context:
space:
mode:
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