Skip to content

Commit

Permalink
Fix builtin overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmidi authored and iSchluff committed Dec 26, 2024
1 parent ac70c53 commit 01a9bfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions srt/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ func (s *testSocket) Read(b []byte) (int, error) {
if !ok {
return 0, io.EOF
}
len := copy(b, buf)
return len, nil
length := copy(b, buf)
return length, nil
}

func (s *testSocket) Write(b []byte) (int, error) {
Expand Down

0 comments on commit 01a9bfd

Please sign in to comment.