diff options
Diffstat (limited to 'ntpdc/ntpdc.c')
-rw-r--r-- | ntpdc/ntpdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ntpdc/ntpdc.c b/ntpdc/ntpdc.c index 69fe6a5e8c40..0375d36813cd 100644 --- a/ntpdc/ntpdc.c +++ b/ntpdc/ntpdc.c @@ -649,7 +649,7 @@ getresponse( todiff = (((uint32_t)time(NULL)) - tobase) & 0x7FFFFFFFu; if ((n > 0) && (todiff > tospan)) { n = recv(sockfd, (char *)&rpkt, sizeof(rpkt), 0); - n = 0; /* faked timeout return from 'select()'*/ + n -= n; /* faked timeout return from 'select()'*/ } if (n == 0) { |