diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-08-25 22:33:07 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-08-25 22:33:07 +0000 |
commit | 986ab5e943db7aaed2aed98f8b74e4c26666fdd8 (patch) | |
tree | 58cfec1114686823dbdbf22cf2ca52f77eb1075d /mh.c | |
parent | 9044dd4d58af4b4d64a6e68b7b76c42d317e7ce5 (diff) |
CVS branch clean-up.
Diffstat (limited to 'mh.c')
-rw-r--r-- | mh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -324,7 +324,7 @@ int mh_valid_message (const char *s) { for (; *s; s++) { - if (!isdigit (*s)) + if (!isdigit ((unsigned char) *s)) return 0; } return 1; @@ -452,7 +452,7 @@ void maildir_create_filename (const char *path, HEADER *hdr, char *msg, char *fu FOREVER { snprintf (msg, _POSIX_PATH_MAX, "%s/%ld.%d_%d.%s%s", - subdir, time (NULL), getpid (), Counter++, Hostname, suffix); + subdir, time (NULL), getpid (), Counter++, NONULL(Hostname), suffix); snprintf (full, _POSIX_PATH_MAX, "%s/%s", path, msg); if (stat (full, &sb) == -1 && errno == ENOENT) return; } |