Only assign the timeout if newSys is true

This commit is contained in:
Tristan B. Velloza Kildaire 2022-05-19 22:01:29 +02:00
parent 9da01c7376
commit d1547eccef
1 changed files with 3 additions and 5 deletions

View File

@ -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;
}
/**