1
0
mirror of https://github.com/clearml/dropbear synced 2025-04-27 01:20:23 +00:00

rename loop variable

2 nested loops with the same variable 'i',
line 219 and line 309
This commit is contained in:
Francois Perrad 2015-12-31 18:47:51 +01:00 committed by Matt Johnston
parent f3a6dd139c
commit 8f96b8908e

View File

@ -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]);