json input support, some shutdown fixes. json needs cleanup.
This commit is contained in:
@@ -68,7 +68,9 @@ static void incoming_handler(struct peer *peer) {
|
||||
}
|
||||
|
||||
static void incoming_del(struct incoming *incoming) {
|
||||
assert(!close(incoming->peer.fd));
|
||||
if (incoming->peer.fd >= 0) {
|
||||
assert(!close(incoming->peer.fd));
|
||||
}
|
||||
free(incoming->node);
|
||||
free(incoming->service);
|
||||
free(incoming);
|
||||
|
||||
Reference in New Issue
Block a user