Fixed typo in ZeroTierSocket.java

This commit is contained in:
Joseph Henry
2019-02-15 03:50:24 -08:00
parent 1b033242ce
commit 23bd427155

View File

@@ -80,7 +80,7 @@ public class ZeroTierSocket extends Socket
created = true;
}
catch (IOException ex) {
throw new SocketException(e.getMessage());
throw new SocketException(ex.getMessage());
}
}
@@ -518,7 +518,7 @@ public class ZeroTierSocket extends Socket
/*
* Returns whether or not the socket has been closed.
*/
public boolean isSocketClosed()()
public boolean isSocketClosed()
{
return closed;
}