1
0
Fork 0
mirror of https://github.com/besterprotocol/besterd synced 2023-12-13 21:00:32 +01:00

Fixed compile error

This commit is contained in:
Tristan B. Kildaire 2020-04-20 18:55:48 +02:00
parent 402e567666
commit fed3d06193

View file

@ -27,7 +27,7 @@ public class BesterListener : Thread
this(BesterServer besterServer) this(BesterServer besterServer)
{ {
/* Set the function address to be called as the worker function */ /* Set the function address to be called as the worker function */
super(run); super(&run);
/* Set this listener's BesterServer */ /* Set this listener's BesterServer */
this.server = besterServer; this.server = besterServer;
@ -74,6 +74,9 @@ public class BesterServer
/* The server's socket */ /* The server's socket */
private Socket serverSocket; private Socket serverSocket;
/* TODO: The above to be replaced */
private BesterListener[] listeners;
/* Connected clients */ /* Connected clients */
public BesterConnection[] clients; public BesterConnection[] clients;