diff options
author | gilles <gilles@openbsd.org> | 2009-08-08 00:02:22 +0000 |
---|---|---|
committer | gilles <gilles@openbsd.org> | 2009-08-08 00:02:22 +0000 |
commit | 4a09a488211d10b2b89e523ca10e07c7c848c35f (patch) | |
tree | 3abc894f0224821086df10219a87d3ec8caa9c2a /usr.sbin/smtpd/forward.c | |
parent | - specifically match carp+([0-9]):, not just carp*:. avoids spurious (diff) | |
download | wireguard-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.c | 4 |
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 */ |