changeset 1270:6d00eca524fe

rename loop variable 2 nested loops with the same variable 'i', line 219 and line 309
author Francois Perrad <francois.perrad@gadz.org>
date Thu, 31 Dec 2015 18:47:51 +0100
parents 210f6b49df89
children 26622eee1e8b
files svr-main.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/svr-main.c	Thu Dec 31 17:16:39 2015 +0100
+++ b/svr-main.c	Thu Dec 31 18:47:51 2015 +0100
@@ -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]);