Skip to content

Commit

Permalink
More linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEvilRoot committed Nov 28, 2024
1 parent 9415a07 commit e031abd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit e031abd

Please sign in to comment.