summaryrefslogtreecommitdiffhomepage
path: root/svr-main.c
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2015-12-31 18:47:51 +0100
committerMatt Johnston <matt@ucc.asn.au>2016-03-16 22:41:19 +0800
commit8f96b8908ec21bed35ae3a3109b94adbfffaf289 (patch)
treee1cdd3f9da839c093b800547999b0c59dab07378 /svr-main.c
parentf3a6dd139ca998d24dabcb47745baacc16e5b7dc (diff)
rename loop variable
2 nested loops with the same variable 'i', line 219 and line 309
Diffstat (limited to 'svr-main.c')
-rw-r--r--svr-main.c4
1 files 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]);