commit | 8f96b8908ec21bed35ae3a3109b94adbfffaf289 | [log] [tgz] |
---|---|---|
author | Francois Perrad <francois.perrad@gadz.org> | Thu Dec 31 18:47:51 2015 +0100 |
committer | Matt Johnston <matt@ucc.asn.au> | Wed Mar 16 22:41:19 2016 +0800 |
tree | e1cdd3f9da839c093b800547999b0c59dab07378 | |
parent | f3a6dd139ca998d24dabcb47745baacc16e5b7dc [diff] |
rename loop variable 2 nested loops with the same variable 'i', line 219 and line 309
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 @@ #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]);