]> git.ipfire.org Git - thirdparty/lldpd.git/commit
log: make a copy of va when logging to both stderr and syslog
authorVincent Bernat <vincent@bernat.im>
Mon, 16 May 2016 06:56:56 +0000 (08:56 +0200)
committerVincent Bernat <vincent@bernat.im>
Mon, 16 May 2016 06:56:56 +0000 (08:56 +0200)
commitae8e632a4610faf2d5708a553e9dca40f708c8eb
tree92a314a019af25ebf0755dc9f8e30436c041735a
parent5aae2522cc518da5200f6401f10038ccafd770b3
log: make a copy of va when logging to both stderr and syslog

On common platform, the copy is cheap. In case it isn't we note that the
copy doesn't happen if using a log handler and syslog cannot be enabled
with debug messages.
src/log.c