From 85bf50612bcecf7fa24f40694e0a9ea5815691c3 Mon Sep 17 00:00:00 2001 From: thorkill Date: Fri, 10 Jul 2015 02:05:22 +0200 Subject: [PATCH] Fixed typo in if statement --- src/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net.c b/src/net.c index 6192dcc5..3deb8521 100644 --- a/src/net.c +++ b/src/net.c @@ -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; }