terminate_connection(): delete non-outgoing (aka incoming) connections.

This commit is contained in:
Sven-Haegar Koch 2012-04-22 02:55:06 +02:00 committed by Guus Sliepen
parent 8b9e5af0d9
commit c78bb14303

View file

@ -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);
}
} }
/* /*