Consistency updates for lib/kadm5 and don't check fd_set size if it's not necessary
This commit is contained in:

committed by
Love Hornquist Astrand

parent
a79bf3464d
commit
c6b8fad5dc
@@ -852,8 +852,10 @@ main(int argc, char **argv)
|
||||
struct timeval to = {30, 0};
|
||||
uint32_t vers;
|
||||
|
||||
#ifndef NO_LIMIT_FD_SETSIZE
|
||||
if (signal_fd >= FD_SETSIZE || listen_fd >= FD_SETSIZE)
|
||||
krb5_errx (context, 1, "fd too large");
|
||||
#endif
|
||||
|
||||
FD_ZERO(&readset);
|
||||
FD_SET(signal_fd, &readset);
|
||||
|
Reference in New Issue
Block a user