Because this would terminate the connection while the control message
handler was still running, it would lead to a segmentation fault later
on.
next = node->next;
c = node->data;
+ if(c->status.control)
+ continue;
+
if(c->last_ping_time + pingtimeout <= now) {
if(c->status.active) {
if(c->status.pinged) {
for(node = connection_tree->head; node; node = next) {
c = node->data;
next = node->next;
+
+ if(c->status.control)
+ continue;
if(c->outgoing) {
free(c->outgoing->name);