exit on select return -1 but errno == 0?
Joe Maimon
jmaimon at ttec.com
Tue Sep 27 23:57:39 CEST 2005
in radiusd.c:720
-----------------------------
for (listener = mainconfig.listen;
listener != NULL;
listener = listener->next) {
int next;
next = listener->update(listener,
time_now);
if (next > 0 && next < sleep_time) {
sleep_time = next;
}
-------------------------------
I added the "next > 0 &&" because I was getting "sleeping for -1"....
and then the server would exit.
More information about the Freeradius-Devel
mailing list