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:
Miroslav Lichvar 2015-01-07 15:38:57 +01:00
parent 35e11ffe60
commit 547272e66c

View file

@ -225,7 +225,8 @@ static ARR_Instance broadcasts;
/* Maximum poll interval set by KoD RATE */
#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
/* ================================================== */