summaryrefslogtreecommitdiffstats
path: root/usr.sbin/smtpd/forward.c
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2009-08-08 00:02:22 +0000
committergilles <gilles@openbsd.org>2009-08-08 00:02:22 +0000
commit4a09a488211d10b2b89e523ca10e07c7c848c35f (patch)
tree3abc894f0224821086df10219a87d3ec8caa9c2a /usr.sbin/smtpd/forward.c
parent- specifically match carp+([0-9]):, not just carp*:. avoids spurious (diff)
downloadwireguard-openbsd-4a09a488211d10b2b89e523ca10e07c7c848c35f.tar.xz
wireguard-openbsd-4a09a488211d10b2b89e523ca10e07c7c848c35f.zip
import some changes from portable smtpd to reduce the delta between both.
this commit contains mostly missing casts and cosmethic changes, do not expect to build this anywhere but on OpenBSD, it does not contain any of the portable glue.
Diffstat (limited to 'usr.sbin/smtpd/forward.c')
-rw-r--r--usr.sbin/smtpd/forward.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/forward.c b/usr.sbin/smtpd/forward.c
index fb5decbdd45..7c020ec1828 100644
--- a/usr.sbin/smtpd/forward.c
+++ b/usr.sbin/smtpd/forward.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: forward.c,v 1.13 2009/03/03 23:23:52 gilles Exp $ */
+/* $OpenBSD: forward.c,v 1.14 2009/08/08 00:02:22 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -70,7 +70,7 @@ forwards_get(int fd, struct aliaseslist *aliases)
cp = buf;
do {
/* skip whitespace */
- while (isspace(*cp))
+ while (isspace((int)*cp))
cp++;
/* parse line */