Skip to content

Commit

Permalink
break out of the loop when we've found an entry
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Dec 19, 2016
1 parent af1bd5f commit 1632e89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/worker.c
Expand Up @@ -224,6 +224,7 @@ static void fr_worker_evfilt_user(UNUSED int kq, struct kevent const *kev, void

worker->num_channels++;
ok = true;
break;
}

rad_cond_assert(ok);
Expand Down

0 comments on commit 1632e89

Please sign in to comment.