From a4dc33a8a400a90d4d73aeb79fd9809a14e5795c Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Wed, 4 Jul 2007 10:37:03 +0000 Subject: Remove unwanted (int) case when reading SIZE. Fix runtest for 64-bit systems. Tidy obsolete stuff in test 46. --- src/src/smtp_in.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/src/smtp_in.c b/src/src/smtp_in.c index fcf165c19..ca198af29 100644 --- a/src/src/smtp_in.c +++ b/src/src/smtp_in.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/smtp_in.c,v 1.58 2007/04/16 11:17:13 ph10 Exp $ */ +/* $Cambridge: exim/src/src/smtp_in.c,v 1.59 2007/07/04 10:37:03 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -3134,7 +3134,7 @@ while (done <= 0) in order to be able to log the sender address on failure. */ if (strcmpic(name, US"SIZE") == 0 && - ((size = (int)Ustrtoul(value, &end, 10)), *end == 0)) + ((size = Ustrtoul(value, &end, 10)), *end == 0)) { if ((size == ULONG_MAX && errno == ERANGE) || size > INT_MAX) size = INT_MAX; -- cgit v1.2.3