]> git.ipfire.org Git - thirdparty/lldpd.git/commit
event: check if timer is present before trying to activate it
authorVincent Bernat <vincent@bernat.im>
Tue, 20 Oct 2015 16:38:05 +0000 (18:38 +0200)
committerVincent Bernat <vincent@bernat.im>
Tue, 20 Oct 2015 16:40:41 +0000 (18:40 +0200)
commit126970da3a89f2b313d3d49b0bd63396b7162ca0
tree4ca4b8d7660f63437e57273bcc173957eba80c78
parent094f37c56cd52f19afd61b5df07858ec3cfe5095
event: check if timer is present before trying to activate it

A timer should always be present, but some previous error conditions may
make it absent. Don't just crash in this condition. See #135.
src/daemon/event.c