Skip to content

Commit

Permalink
Update src/error.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash authored Nov 6, 2023
1 parent dc66953 commit 03b40da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ mbed_ioerr(ret) = throw(Base.IOError(strerror(ret), ret))

function strerror(ret, bufsize=1000)
buf = Base.StringVector(bufsize)
ccall((:mbedtls_strerror, libmbedcrypto), Cint,
ccall((:mbedtls_strerror, libmbedcrypto), Cvoid,

Check warning on line 22 in src/error.jl

View check run for this annotation

Codecov / codecov/patch

src/error.jl#L21-L22

Added lines #L21 - L22 were not covered by tests
(Cint, Ptr{Cvoid}, Csize_t),
ret, buf, bufsize)
resize!(buf, something(findfirst(0x00, buf), length(buf) + 1) - 1)
Expand Down

0 comments on commit 03b40da

Please sign in to comment.