ntp: remove unnecessary check in read_from_socket()
This commit is contained in:
parent
4e54770f18
commit
407e47b306
1 changed files with 3 additions and 6 deletions
9
ntp_io.c
9
ntp_io.c
|
@ -557,12 +557,9 @@ read_from_socket(void *anything)
|
|||
#endif
|
||||
}
|
||||
|
||||
if (status > 0) {
|
||||
DEBUG_LOG(LOGF_NtpIO, "Received %d bytes from %s:%d to %s fd %d",
|
||||
status,
|
||||
UTI_IPToString(&remote_addr.ip_addr), remote_addr.port,
|
||||
UTI_IPToString(&local_addr.ip_addr), local_addr.sock_fd);
|
||||
}
|
||||
DEBUG_LOG(LOGF_NtpIO, "Received %d bytes from %s:%d to %s fd %d",
|
||||
status, UTI_IPToString(&remote_addr.ip_addr), remote_addr.port,
|
||||
UTI_IPToString(&local_addr.ip_addr), local_addr.sock_fd);
|
||||
|
||||
if (status >= NTP_NORMAL_PACKET_LENGTH) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue