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
@@ -657,8 +657,10 @@ main(int argc, char **argv)
|
||||
fd_set readset;
|
||||
struct timeval to;
|
||||
|
||||
#ifndef NO_LIMIT_FD_SETSIZE
|
||||
if (master_fd >= FD_SETSIZE)
|
||||
krb5_errx (context, 1, "fd too large");
|
||||
#endif
|
||||
|
||||
FD_ZERO(&readset);
|
||||
FD_SET(master_fd, &readset);
|
||||
|
Reference in New Issue
Block a user