Get rid of incorrect assert in asyncdispatch.
This commit is contained in:
parent
291aa2eb30
commit
b23dce03a1
1 changed files with 0 additions and 1 deletions
|
|
@ -394,7 +394,6 @@ when defined(windows) or defined(nimdoc):
|
||||||
size
|
size
|
||||||
else:
|
else:
|
||||||
bytesReceived
|
bytesReceived
|
||||||
assert dataBuf.buf[0] != '\0'
|
|
||||||
var data = newString(realSize)
|
var data = newString(realSize)
|
||||||
copyMem(addr data[0], addr dataBuf.buf[0], realSize)
|
copyMem(addr data[0], addr dataBuf.buf[0], realSize)
|
||||||
retFuture.complete($data)
|
retFuture.complete($data)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue