X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/5fae29d5b430d6a5f58c6c02cdefbbf307e258a9..fc057b9e8d3cbccb97a3044bda7faa0271670583:/src/src/retry.c diff --git a/src/src/retry.c b/src/src/retry.c index 175da216e..1993b7768 100644 --- a/src/src/retry.c +++ b/src/src/retry.c @@ -3,6 +3,7 @@ *************************************************/ /* Copyright (c) University of Cambridge 1995 - 2018 */ +/* Copyright (c) The Exim Maintainers 2020 */ /* See the file NOTICE for conditions of use and distribution. */ /* Functions concerned with retrying unsuccessful deliveries. */ @@ -654,7 +655,7 @@ for (int i = 0; i < 3; i++) ? US string_printing(rti->message) : US"unknown error"; message_length = Ustrlen(message); - if (message_length > 150) message_length = 150; + if (message_length > EXIM_DB_RLIMIT) message_length = EXIM_DB_RLIMIT; /* Read a retry record from the database or construct a new one. Ignore an old one if it is too old since it was last updated. */