(process_rings): actually check the correct file descriptors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9127 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -774,11 +774,9 @@ process_rings(int netin,
|
|||||||
int returnValue = 0;
|
int returnValue = 0;
|
||||||
static struct timeval TimeValue = { 0 };
|
static struct timeval TimeValue = { 0 };
|
||||||
|
|
||||||
if (netin >= FD_SETSIZE
|
if (net >= FD_SETSIZE
|
||||||
|| netout >= FD_SETSIZE
|
|| tout >= FD_SETSIZE
|
||||||
|| netex >= FD_SETSIZE
|
|| tin >= FD_SETSIZE)
|
||||||
|| ttyin >= FD_SETSIZE
|
|
||||||
|| ttyout >= FD_SETSIZE)
|
|
||||||
errx (1, "fd too large");
|
errx (1, "fd too large");
|
||||||
|
|
||||||
if (netout) {
|
if (netout) {
|
||||||
|
Reference in New Issue
Block a user