From 8f96b8908ec21bed35ae3a3109b94adbfffaf289 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Thu, 31 Dec 2015 18:47:51 +0100 Subject: [PATCH] rename loop variable 2 nested loops with the same variable 'i', line 219 and line 309 --- svr-main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svr-main.c b/svr-main.c index 28fc9b0..1b9f86a 100644 --- a/svr-main.c +++ b/svr-main.c @@ -306,8 +306,8 @@ void main_noinetd() { #endif /* make sure we close sockets */ - for (i = 0; i < listensockcount; i++) { - m_close(listensocks[i]); + for (j = 0; j < listensockcount; j++) { + m_close(listensocks[j]); } m_close(childpipe[0]);