summaryrefslogtreecommitdiff
path: root/sysutils/gkrellm/patches/patch-an
blob: f1ff9ea1aeec2741c6ebc1c69df66a57ff7d79e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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);