Skip to content

Commit

Permalink
Fix typo in Nagle’s algorithm name (#9561)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgomes authored Jul 30, 2020
1 parent a119061 commit bbcb615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/socket/tcp_socket.cr
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class TCPSocket < IPSocket
end
end

# Returns `true` if the Nable algorithm is disabled.
# Returns `true` if the Nagle algorithm is disabled.
def tcp_nodelay?
getsockopt_bool LibC::TCP_NODELAY, level: Protocol::TCP
end
Expand Down

0 comments on commit bbcb615

Please sign in to comment.