Fixed typo in if statement

This commit is contained in:
thorkill 2015-07-10 02:05:22 +02:00
parent 6c6675e72a
commit 85bf50612b

View file

@ -270,7 +270,7 @@ static void periodic_handler(void *data) {
for list_each(outgoing_t, o, outgoing_list) {
bool found = false;
for list_each(connection_t, c, connection_list) {
if((c->outgoing == o) && (!c->outgoing->keep_it)) {
if((c->outgoing == o) && (c->outgoing->keep_it)) {
found = true;
break;
}