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:27:28 +0200
commite37088f6feeaad3bdb5e7ef8d6ef6c8176d0287e (patch)
treecca4ca8292173c29fa757c00bb27bed92e2c41fb
parent1eaab0bd503d4ca6d1b62082a0117447171d1bc8 (diff)
server.c: Fix wrong for loop rangefixes
-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];