]> git.ipfire.org Git - thirdparty/lldpd.git/commit
agent: simpler code with #ifdef
authorVincent Bernat <vincent@bernat.ch>
Mon, 13 Apr 2020 17:59:24 +0000 (19:59 +0200)
committerVincent Bernat <vincent@bernat.ch>
Mon, 13 Apr 2020 17:59:24 +0000 (19:59 +0200)
commit15062dfd11b61bf78b511d44fedb9a13456cafd2
tree354236e4ee3138b4c48046449a81d12fcae54eb5
parent68c3556d4e702eac4874d6d0907685fdc921ab5d
agent: simpler code with #ifdef

The use #ifdef to avoid some line duplications makes the code harder
to read. Prefer duplicating the lines when needed.
src/daemon/agent_priv.c