summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-01-04 19:26:31 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-01-04 19:26:31 +0000
commit199a745fdcd9bc8c19dce443d37061a3fc8dc147 (patch)
tree04ae409963cccdbdba896fbdfb9a0ab3bea5e73c /usr.sbin/smtpd
parent5f6011208b6fe975b345d7effbacc7c0ca782d1c (diff)
remove unnecessary "messagep->retry == 255" expiry condition; ok gilles@
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/runner.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/smtpd/runner.c b/usr.sbin/smtpd/runner.c
index b4c79c960a0..31996f7b898 100644
--- a/usr.sbin/smtpd/runner.c
+++ b/usr.sbin/smtpd/runner.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: runner.c,v 1.14 2009/01/04 19:25:19 jacekm Exp $ */
+/* $OpenBSD: runner.c,v 1.15 2009/01/04 19:26:30 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -725,10 +725,6 @@ runner_message_schedule(struct message *messagep, time_t tm)
return 0;
}
- if (messagep->retry == 255) {
- return 0;
- }
-
if (messagep->lasttry == 0)
return 1;