Skip to content

Commit

Permalink
true
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Nov 13, 2022
1 parent 41bca19 commit c081b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pure/asyncnet.nim
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ proc send*(socket: AsyncSocket, data: string,
when defineSsl:
var copy = data
sslLoop(socket, flags,
sslWrite(socket.sslHandle, addr copy[0], copy.len.cint))
sslWrite(socket.sslHandle, cast[cstring](addr copy[0]), copy.len.cint))
await sendPendingSslData(socket, flags)
else:
await send(socket.fd.AsyncFD, data, flags)
Expand Down

0 comments on commit c081b46

Please sign in to comment.