Only assign the timeout if newSys is true
This commit is contained in:
parent
9da01c7376
commit
d1547eccef
|
@ -36,14 +36,12 @@ public final class Watcher : Thread
|
|||
this.manager = manager;
|
||||
this.endpoint = endpoint;
|
||||
|
||||
|
||||
this.newSys = newSys;
|
||||
if(newSys)
|
||||
/* If we are to use the new system then initialize the socket sets */
|
||||
if(this.newSys = newSys)
|
||||
{
|
||||
this.timeOut = timeOut;
|
||||
initSelect();
|
||||
}
|
||||
|
||||
this.timeOut = timeOut;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue