summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2007-07-04 10:37:03 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2007-07-04 10:37:03 +0000
commita4dc33a8a400a90d4d73aeb79fd9809a14e5795c (patch)
treeffa7647def445a429d567651c3d0f58e4a3fbe20 /src
parent1f5497b2a08c38975c9945122a0279bb03f99e28 (diff)
Remove unwanted (int) case when reading SIZE. Fix runtest for 64-bit
systems. Tidy obsolete stuff in test 46.
Diffstat (limited to 'src')
-rw-r--r--src/src/smtp_in.c4
1 files changed, 2 insertions, 2 deletions
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;