diff --git a/src/main/kotlin/com/theevilroot/asyncsocket/Socks4CoroutineSocket.kt b/src/main/kotlin/com/theevilroot/asyncsocket/Socks4CoroutineSocket.kt index ca6b7bc..783f06e 100644 --- a/src/main/kotlin/com/theevilroot/asyncsocket/Socks4CoroutineSocket.kt +++ b/src/main/kotlin/com/theevilroot/asyncsocket/Socks4CoroutineSocket.kt @@ -23,7 +23,7 @@ class Socks4CoroutineSocket( (isa.port and 0xff).toByte(), *isa.address.address, *userId.toByteArray(), - 0x00.toByte(), + 0x00.toByte() ) ByteBuffer.wrap(message).let { val count = super.write(it) diff --git a/src/main/kotlin/com/theevilroot/asyncsocket/SocksCoroutineSocket.kt b/src/main/kotlin/com/theevilroot/asyncsocket/SocksCoroutineSocket.kt index 5b08e36..394d1ca 100644 --- a/src/main/kotlin/com/theevilroot/asyncsocket/SocksCoroutineSocket.kt +++ b/src/main/kotlin/com/theevilroot/asyncsocket/SocksCoroutineSocket.kt @@ -87,7 +87,7 @@ class SocksCoroutineSocket( 0x01, *isa.address.address, (isa.port shr 8).toByte(), - (isa.port and 0xff).toByte(), + (isa.port and 0xff).toByte() ) ByteBuffer.wrap(message).let { val count = super.write(it) @@ -129,7 +129,7 @@ class SocksCoroutineSocket( username.length.toByte(), *username.toByteArray(), password.length.toByte(), - *password.toByteArray(), + *password.toByteArray() ) ByteBuffer.wrap(message).also { val count = super.write(it)