about summary refs log tree commit diff
path: root/ttb.c
diff options
context:
space:
mode:
Diffstat (limited to 'ttb.c')
-rw-r--r--ttb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttb.c b/ttb.c
index 220447b..38055a7 100644
--- a/ttb.c
+++ b/ttb.c
@@ -58,7 +58,7 @@ int main(int argc, char **argv)
 	for (;;)
 	{
 		nfds_t written = 0;
-		for (size_t i = 1; i < lengthof(peers); ++i)
+		for (size_t i = 0; i < lengthof(peers); ++i)
 			if (peers[i])
 				ppeers[written++] = (struct pollfd)
 				{