Skip to content

Commit

Permalink
Merge pull request #65 from paisley/fix-make-on-rhel9
Browse files Browse the repository at this point in the history
Fix misleading-indentation error when running make on RHEL9
  • Loading branch information
garlick authored May 4, 2023
2 parents 0681629 + 8388d6a commit 143cbb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion powermand/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1067,9 +1067,10 @@ void cli_pre_poll(xpollfd_t pfd)
int i;

for (i = 0; i < listen_fds_len; i++) {
if (listen_fds[i] != NO_FD)
if (listen_fds[i] != NO_FD) {
assert(listen_fds[i] >= 0);
xpollfd_set(pfd, listen_fds[i], XPOLLIN);
}
}

itr = list_iterator_create(cli_clients);
Expand Down

0 comments on commit 143cbb0

Please sign in to comment.