Mercurial > dropbear
comparison svr-main.c @ 1596:60fceff95858
workaround memory sanitizer FD_ZERO false positives
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 06 Mar 2018 21:51:51 +0800 |
parents | 47f36d8565cf |
children | e05c0e394f1d |
comparison
equal
deleted
inserted
replaced
1595:4fe7cc9e45eb | 1596:60fceff95858 |
---|---|
176 } | 176 } |
177 | 177 |
178 /* incoming connection select loop */ | 178 /* incoming connection select loop */ |
179 for(;;) { | 179 for(;;) { |
180 | 180 |
181 FD_ZERO(&fds); | 181 DROPBEAR_FD_ZERO(&fds); |
182 | 182 |
183 /* listening sockets */ | 183 /* listening sockets */ |
184 for (i = 0; i < listensockcount; i++) { | 184 for (i = 0; i < listensockcount; i++) { |
185 FD_SET(listensocks[i], &fds); | 185 FD_SET(listensocks[i], &fds); |
186 } | 186 } |