aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-08-28 03:27:28 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-08-28 03:52:59 +0200
commit872bfc2f8faf2000703f26ebb88a68ab0f356a7d (patch)
treecca4ca8292173c29fa757c00bb27bed92e2c41fb
parent1eaab0bd503d4ca6d1b62082a0117447171d1bc8 (diff)
server.c: Fix wrong for loop rangev0.4.1
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index dec3080..a77d7d2 100644
--- a/server.c
+++ b/server.c
@@ -366,7 +366,7 @@ failure:;
const int a[] = {fd, fds[0], fds[1]};
- for (size_t i = 0; sizeof a / sizeof *a; i++)
+ for (size_t i = 0; i < sizeof a / sizeof *a; i++)
{
const int fd = a[i];