all: fix typos (#19693)

This commit is contained in:
Turiiya 2023-10-30 02:28:34 +01:00 committed by GitHub
parent ac40981bcc
commit 690ec7d3a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 159 additions and 150 deletions

View file

@ -99,7 +99,7 @@ fn fatal_socket_error(fd int) bool {
return true
}
// listen creates a listening tcp socket and returns its file decriptor
// listen creates a listening tcp socket and returns its file descriptor
fn listen(config Config) int {
// not using the `net` modules sockets, because not all socket options are defined
fd := C.socket(net.AddrFamily.ip, net.SocketType.tcp, 0)