blob: f0e25055ad2c9c05cdfc05624bd741bb330896f9 (
plain) (
tree)
|
|
select(3) does not modify its timeout in musl, as permitted by POSIX
--- sntpd-3.0/src/sntpd.c
+++ sntpd-3.0/src/sntpd.c
@@ -663,7 +663,7 @@ static void loop(struct ntp_control *ntpc)
continue;
}
- if (to.tv_sec == 0) {
+ if (1) {
if (probes_sent >= ntpc->probe_count && ntpc->probe_count != 0)
break;
|