Skip to content

Commit

Permalink
Fix readbytes
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Sep 24, 2024
1 parent 61f222b commit 0af9f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sockets/client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ end
function Base.readbytes!(sock::Client, buf::AbstractVector{UInt8}, n::Integer=length(buf))
readbytes!(sock.readbuf, buf, n)
maybe_increment_read_window(sock, n, "Base.readbytes!")
return
return n
end

function Base.read(sock::Client, n::Integer)
Expand Down

0 comments on commit 0af9f6e

Please sign in to comment.