comparison svr-main.c @ 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 2bb4c662d1c2
children 26622eee1e8b
comparison
equal deleted inserted replaced
1269:210f6b49df89 1270:6d00eca524fe
304 dropbear_exit("setsid: %s", strerror(errno)); 304 dropbear_exit("setsid: %s", strerror(errno));
305 } 305 }
306 #endif 306 #endif
307 307
308 /* make sure we close sockets */ 308 /* make sure we close sockets */
309 for (i = 0; i < listensockcount; i++) { 309 for (j = 0; j < listensockcount; j++) {
310 m_close(listensocks[i]); 310 m_close(listensocks[j]);
311 } 311 }
312 312
313 m_close(childpipe[0]); 313 m_close(childpipe[0]);
314 314
315 /* start the session */ 315 /* start the session */