summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/store.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/store.c')
-rw-r--r--usr.sbin/smtpd/store.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/store.c b/usr.sbin/smtpd/store.c
index 6f256833f91..3c9f32ec531 100644
--- a/usr.sbin/smtpd/store.c
+++ b/usr.sbin/smtpd/store.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: store.c,v 1.24 2009/08/06 16:29:35 gilles Exp $ */
+/* $OpenBSD: store.c,v 1.25 2009/08/08 00:02:22 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -66,7 +66,7 @@ file_copy(FILE *dest, FILE *src, struct path *path, enum action_type type, int s
* add the Delivered-To header to help loop detection.
*/
if (!session && path != NULL && inheaders &&
- strchr(buf, ':') == NULL && !isspace(*buf)) {
+ strchr(buf, ':') == NULL && !isspace((int)*buf)) {
if (fprintf(dest, "Delivered-To: %s@%s\n",
path->user, path->domain) == -1)
return 0;