mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-28 06:26:12 -04:00
14 lines
409 B
Plaintext
14 lines
409 B
Plaintext
$NetBSD: patch-an,v 1.1 2005/03/22 14:57:12 cube Exp $
|
|
|
|
--- server/mail.c.orig 2004-05-01 19:45:31.000000000 +0200
|
|
+++ server/mail.c
|
|
@@ -231,7 +231,7 @@ check_mh_dir(Mailbox *mbox)
|
|
while ((name = (gchar *) g_dir_read_name(dir)) != NULL)
|
|
{
|
|
/* Files starting with a digit are messages. */
|
|
- if (isdigit(name[0]))
|
|
+ if (isdigit((unsigned char)name[0]))
|
|
mbox->mail_count++;
|
|
}
|
|
g_dir_close(dir);
|