diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2018-12-28 11:11:37 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2018-12-28 11:11:37 +0000 |
commit | 12adc03393c7838cba8ab2ac32ceefea477653be (patch) | |
tree | 312926e5c5ceb3044650b14137bde7ca5ff4c08d /usr.sbin/smtpd | |
parent | a3c26cd0f3aa05bf9bb139be9f6d2ce27d9823fb (diff) |
fix logging of list entries
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/table_static.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/table_static.c b/usr.sbin/smtpd/table_static.c index d7e9698a733..73c18164a42 100644 --- a/usr.sbin/smtpd/table_static.c +++ b/usr.sbin/smtpd/table_static.c @@ -1,4 +1,4 @@ -/* $OpenBSD: table_static.c,v 1.30 2018/12/28 10:42:18 eric Exp $ */ +/* $OpenBSD: table_static.c,v 1.31 2018/12/28 11:11:36 eric Exp $ */ /* * Copyright (c) 2013 Eric Faurot <eric@openbsd.org> @@ -282,7 +282,7 @@ table_static_dump(struct table *table) iter = NULL; while (dict_iter(&priv->dict, &iter, &key, (void**)&value)) { - if (value) + if (value && (void*)value != (void*)priv) log_debug(" \"%s\" -> \"%s\"", key, value); else log_debug(" \"%s\"", key); |