From: eric Date: Fri, 28 Dec 2018 11:11:36 +0000 (+0000) Subject: fix logging of list entries X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d968baab7969d67d16df4ee8b49b92f5d1afb3f0;p=openbsd fix logging of list entries --- 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 @@ -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);