Make control socket handling safer and fix an inverted logic bug.
authorDavin McCall <davmac@davmac.org>
Tue, 14 Jun 2016 22:01:22 +0000 (23:01 +0100)
committerDavin McCall <davmac@davmac.org>
Tue, 14 Jun 2016 22:01:22 +0000 (23:01 +0100)
commit8d24cdee2fe633242652eea3fd2ac14623d0a068
tree27c9ecf6bd63aa46cd53fa479eee9a95ac5ba463
parent545812caf0b633a0c0f60e428e40ebf78136a0bb
Make control socket handling safer and fix an inverted logic bug.
queuePacket() now no longer deletes the connection, meaning its
use the service listener is now safe.
src/control.cc
src/control.h