mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 04:35:06 -05:00
ntp: use different value for invalid socket in ntp_core
This should make it easier to see invalid sockets leaking from ntp_core to ntp_io.
This commit is contained in:
@@ -225,7 +225,8 @@ static ARR_Instance broadcasts;
|
|||||||
/* Maximum poll interval set by KoD RATE */
|
/* Maximum poll interval set by KoD RATE */
|
||||||
#define MAX_KOD_RATE_POLL SRC_DEFAULT_MAXPOLL
|
#define MAX_KOD_RATE_POLL SRC_DEFAULT_MAXPOLL
|
||||||
|
|
||||||
#define INVALID_SOCK_FD -1
|
/* Invalid socket, different from the one in ntp_io.c */
|
||||||
|
#define INVALID_SOCK_FD -2
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user