Skip to content

Commit

Permalink
Fixed a typo in the code comment docs
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoperini authored Jan 17, 2024
1 parent 3383f62 commit ad0067a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/dtx_codec/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func ReadMessage(reader io.Reader) (Message, error) {
return result, nil
}

// ReadMessage uses the reader to fully read a Message from it in non-blocking mode. User for sniffing the utun interface.
// ReadMessage uses the reader to fully read a Message from it in non-blocking mode. Used for sniffing the utun interface.
func ReadMessageNonBlocking(reader io.Reader) (Message, error) {
header := make([]byte, 32)
_, err := io.ReadFull(reader, header)
Expand Down

0 comments on commit ad0067a

Please sign in to comment.