Skip to content

Commit c081b46

Browse files
committed
true
1 parent 41bca19 commit c081b46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pure/asyncnet.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ proc send*(socket: AsyncSocket, data: string,
459459
when defineSsl:
460460
var copy = data
461461
sslLoop(socket, flags,
462-
sslWrite(socket.sslHandle, addr copy[0], copy.len.cint))
462+
sslWrite(socket.sslHandle, cast[cstring](addr copy[0]), copy.len.cint))
463463
await sendPendingSslData(socket, flags)
464464
else:
465465
await send(socket.fd.AsyncFD, data, flags)

0 commit comments

Comments
 (0)