diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2013-11-18 11:47:17 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2013-11-18 11:47:17 +0000 |
commit | 75603064b42dfb9d84166feb14807431559f25a3 (patch) | |
tree | e648f6663481337b3cb02211cdf4780dc43cae7b /usr.sbin/smtpd/table_passwd.c | |
parent | ce2fb986d5ad44761ff5d96b8e2770b7e5cd8b6a (diff) |
change dict_poproot() prototype: do not take key placeholder parameter as
it can't work that way.
Diffstat (limited to 'usr.sbin/smtpd/table_passwd.c')
-rw-r--r-- | usr.sbin/smtpd/table_passwd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/table_passwd.c b/usr.sbin/smtpd/table_passwd.c index baca7792470..14193561362 100644 --- a/usr.sbin/smtpd/table_passwd.c +++ b/usr.sbin/smtpd/table_passwd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: table_passwd.c,v 1.4 2013/10/26 12:27:59 eric Exp $ */ +/* $OpenBSD: table_passwd.c,v 1.5 2013/11/18 11:47:16 eric Exp $ */ /* * Copyright (c) 2013 Gilles Chehade <gilles@poolp.org> @@ -122,7 +122,7 @@ table_passwd_update(void) /* swap passwd table and release old one*/ if (passwd) - while (dict_poproot(passwd, NULL, (void**)&buf)) + while (dict_poproot(passwd, (void**)&buf)) free(buf); passwd = npasswd; @@ -135,7 +135,7 @@ err: /* release passwd table */ if (npasswd) { - while (dict_poproot(npasswd, NULL, (void**)&buf)) + while (dict_poproot(npasswd, (void**)&buf)) free(buf); free(npasswd); } |