diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2012-10-12 08:51:03 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2012-10-12 08:51:03 +0000 |
commit | 9bb324f9ade4d6e1d5a7f4b8b5be6a1357e0cc5c (patch) | |
tree | 7d223c48bbf9170d629836c5c7d2b881aa23b547 /usr.sbin/smtpd/smtpd.h | |
parent | 843db7a8c30d575ac8db12fcd6a07599e3517056 (diff) |
Extend the "retry" field to 16 bits. The new quadratic retry formula
makes the maximum retry delay a bit to small on 8 bits.
ok gilles@ chl@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r-- | usr.sbin/smtpd/smtpd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index 76302dcaf8e..0d13040caed 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.387 2012/10/11 21:43:11 gilles Exp $ */ +/* $OpenBSD: smtpd.h,v 1.388 2012/10/12 08:51:02 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -420,7 +420,7 @@ struct envelope { time_t creation; time_t lasttry; time_t expire; - uint8_t retry; + uint16_t retry; enum delivery_flags flags; }; @@ -818,7 +818,7 @@ struct scheduler_info { time_t creation; time_t lasttry; time_t expire; - uint8_t retry; + uint16_t retry; }; struct id_list { |