Skip to content

Commit 108c7b1

Browse files
authored
wtf
1 parent 66f2c9a commit 108c7b1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/src/main/java/be/mygod/librootkotlinx/net/ALocalServerSocket.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ class ALocalServerSocket(val socket: LocalServerSocket, private val handler: Han
3737
} finally {
3838
StrictMode.setThreadPolicy(policy)
3939
}
40-
} else {
41-
socket.accept()
42-
}
40+
} else socket.accept()
4341
return@withContext ALocalSocket(accepted, handler)
4442
} catch (e: IOException) {
4543
if ((e.cause as? ErrnoException)?.errno != OsConstants.EAGAIN) throw e

0 commit comments

Comments
 (0)