]> git.ipfire.org Git - thirdparty/lldpd.git/commit
Eliminate unused arguments to priv_init() with --disable-privsep.
authorJohn Lindgren <john.lindgren@avasure.com>
Mon, 8 Mar 2021 17:06:47 +0000 (12:06 -0500)
committerVincent Bernat <vincent@bernat.ch>
Mon, 8 Mar 2021 20:45:41 +0000 (21:45 +0100)
commit8c69002b45bbb23764dc9a6a2c2ce8f9275717d4
tree85b787214f1aec2465969c7ff50d5b896a773ce1
parent3fd81d8953ad78da9e3ef2ba712830354593111a
Eliminate unused arguments to priv_init() with --disable-privsep.

This seems a bit cleaner than passing dummy values (e.g. 0) that
aren't ever used.  Additionally, it means that PRIVSEP_CHROOT no
longer needs to be defined to a dummy value if building with
--disable-privsep.
src/daemon/lldpd.c
src/daemon/lldpd.h
src/daemon/priv.c