diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2010-05-27 11:17:30 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2010-05-27 11:17:30 +0000 |
commit | 89daa86ab6713e3ec53f677d12a1e58783f605a7 (patch) | |
tree | 394f4a51c1dc09a30d612a8c546382855c73606e /usr.sbin/smtpd/config.c | |
parent | 9a0d4427b66de9308d6ba4a41bdddcabc00c9379 (diff) |
kill struct opt from struct rule, we don't use it, we don't need it
Diffstat (limited to 'usr.sbin/smtpd/config.c')
-rw-r--r-- | usr.sbin/smtpd/config.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/smtpd/config.c b/usr.sbin/smtpd/config.c index 577b09c992e..7cdb79def4d 100644 --- a/usr.sbin/smtpd/config.c +++ b/usr.sbin/smtpd/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.10 2010/04/20 15:34:56 jacekm Exp $ */ +/* $OpenBSD: config.c,v 1.11 2010/05/27 11:17:29 gilles Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -59,7 +59,6 @@ purge_config(struct smtpd *env, u_int8_t what) struct map *m; struct rule *r; struct cond *c; - struct opt *o; struct ssl *s; struct mapel *me; @@ -90,10 +89,6 @@ purge_config(struct smtpd *env, u_int8_t what) TAILQ_REMOVE(&r->r_conditions, c, c_entry); free(c); } - while ((o = TAILQ_FIRST(&r->r_options)) != NULL) { - TAILQ_REMOVE(&r->r_options, o, o_entry); - free(o); - } free(r); } free(env->sc_rules); |