From 4a09a488211d10b2b89e523ca10e07c7c848c35f Mon Sep 17 00:00:00 2001 From: gilles Date: Sat, 8 Aug 2009 00:02:22 +0000 Subject: 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. --- usr.sbin/smtpd/forward.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/smtpd/forward.c') 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 @@ -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 */ -- cgit v1.2.3-59-g8ed1b