From f50779e1baed66a699c75c8db0319cf3d623ba9c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 17 Oct 2009 14:59:45 +0200 Subject: minor optimization --- libasyncns/asyncns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libasyncns/asyncns.c b/libasyncns/asyncns.c index 3fa8b49..e5d4291 100644 --- a/libasyncns/asyncns.c +++ b/libasyncns/asyncns.c @@ -295,7 +295,7 @@ static int close_allv(const int except_fds[]) { for (i = 0; except_fds[i] >= 0; i++) if (except_fds[i] == fd) { found = 1; - continue; + break; } if (found) -- cgit