terminate_connection(): delete non-outgoing (aka incoming) connections.
This commit is contained in:
parent
8b9e5af0d9
commit
c78bb14303
1 changed files with 4 additions and 2 deletions
|
@ -146,7 +146,9 @@ void terminate_connection(connection_t *c, bool report) {
|
||||||
|
|
||||||
if(c->outgoing) {
|
if(c->outgoing) {
|
||||||
do_outgoing_connection(c);
|
do_outgoing_connection(c);
|
||||||
}
|
} else {
|
||||||
|
connection_del(c);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue