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:
parent
35e11ffe60
commit
547272e66c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue