Skip to content

Commit e031abd

Browse files
committed
More linter issues
1 parent 9415a07 commit e031abd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/kotlin/com/theevilroot/asyncsocket/Socks4CoroutineSocket.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Socks4CoroutineSocket(
2323
(isa.port and 0xff).toByte(),
2424
*isa.address.address,
2525
*userId.toByteArray(),
26-
0x00.toByte(),
26+
0x00.toByte()
2727
)
2828
ByteBuffer.wrap(message).let {
2929
val count = super.write(it)

src/main/kotlin/com/theevilroot/asyncsocket/SocksCoroutineSocket.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class SocksCoroutineSocket(
8787
0x01,
8888
*isa.address.address,
8989
(isa.port shr 8).toByte(),
90-
(isa.port and 0xff).toByte(),
90+
(isa.port and 0xff).toByte()
9191
)
9292
ByteBuffer.wrap(message).let {
9393
val count = super.write(it)
@@ -129,7 +129,7 @@ class SocksCoroutineSocket(
129129
username.length.toByte(),
130130
*username.toByteArray(),
131131
password.length.toByte(),
132-
*password.toByteArray(),
132+
*password.toByteArray()
133133
)
134134
ByteBuffer.wrap(message).also {
135135
val count = super.write(it)

0 commit comments

Comments
 (0)