diff options
Diffstat (limited to 'btime.c')
-rw-r--r-- | btime.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -96,7 +96,7 @@ btime(const char *host) if ((nbytes = recvfrom(sd, &response, BTIME_MSGLEN, MSG_DONTWAIT, (struct sockaddr *)&resp_addr, &resp_addr_len)) < 0) { if (errno == EAGAIN) { - usleep(retry * 100); + usleep(RETRY_SLEEP); continue; } else { /* Non EAGAIN error... */ @@ -113,7 +113,7 @@ btime(const char *host) btime = strtoul(response+COOKIE_LEN, NULL, 10); break; } else { - fprintf(stderr, "Ignoring invalid cookie\n"); + /* ignore the invalid btime cookie */ continue; } } else if (!same_addr(&serv_addr, &resp_addr)) { |