diff options
author | Gilles Chehade <gilles@poolp.org> | 2012-11-15 14:56:33 +0100 |
---|---|---|
committer | Gilles Chehade <gilles@poolp.org> | 2012-11-15 14:56:33 +0100 |
commit | e6a6e32376ed2d94cb087ad3f3a34ecf1ae5491c (patch) | |
tree | 7c1b76050da7d176c11636ca5911599b5fc09956 /smtpd/config.c | |
parent | table->m_* -> table->t_* (diff) | |
download | OpenSMTPD-e6a6e32376ed2d94cb087ad3f3a34ecf1ae5491c.tar.xz OpenSMTPD-e6a6e32376ed2d94cb087ad3f3a34ecf1ae5491c.zip |
struct table *m -> struct table *t;
Diffstat (limited to 'smtpd/config.c')
-rw-r--r-- | smtpd/config.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/smtpd/config.c b/smtpd/config.c index a6659ed1..7c1127e6 100644 --- a/smtpd/config.c +++ b/smtpd/config.c @@ -58,7 +58,7 @@ void purge_config(uint8_t what) { struct listener *l; - struct table *m; + struct table *t; struct rule *r; struct ssl *s; struct mapel *me; @@ -72,13 +72,13 @@ purge_config(uint8_t what) env->sc_listeners = NULL; } if (what & PURGE_TABLES) { - while ((m = TAILQ_FIRST(env->sc_tables)) != NULL) { - TAILQ_REMOVE(env->sc_tables, m, t_entry); - while ((me = TAILQ_FIRST(&m->t_contents))) { - TAILQ_REMOVE(&m->t_contents, me, me_entry); + while ((t = TAILQ_FIRST(env->sc_tables)) != NULL) { + TAILQ_REMOVE(env->sc_tables, t, t_entry); + while ((me = TAILQ_FIRST(&t->t_contents))) { + TAILQ_REMOVE(&t->t_contents, me, me_entry); free(me); } - free(m); + free(t); } free(env->sc_tables); env->sc_tables = NULL; |