blob: 00121d80bbd5ee60f3f4c40726b316bffb5f6989 (
plain) (
tree)
|
|
select(3) does not modify its timeout in musl, as permitted by POSIX
--- sntpd-7e372536855687f0af3c7ddde5fcb965b93d5d1e/src/sntpd.c
+++ sntpd-7e372536855687f0af3c7ddde5fcb965b93d5d1e/src/sntpd.c
@@ -686,7 +686,7 @@ static void primary_loop(int usd, struct ntp_control *ntpc)
ERR(errno, "Failed select()");
continue;
}
- if (to.tv_sec == 0) {
+ if (1) {
if (probes_sent >= ntpc->probe_count && ntpc->probe_count != 0)
break;
|