# HG changeset patch # User Francois Perrad # Date 1451584071 -3600 # Node ID 6d00eca524fed0f9d88a9b862ee30e164fde5787 # Parent 210f6b49df89ecdcde37b649528dc70b8ad97057 rename loop variable 2 nested loops with the same variable 'i', line 219 and line 309 diff -r 210f6b49df89 -r 6d00eca524fe svr-main.c --- 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]);