diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-10-18 15:59:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 15:59:22 +0200 |
commit | 889b745b2b57927e2953d6e8bacaa68fde13513e (patch) | |
tree | 79cf9bb0ff2f7a53372750f8602a1dbfb303fdb3 /tests/manyloc/keineschweine | |
parent | f5b4d9a2e52285f48eb75100495f150d347cb161 (diff) | |
download | Nim-889b745b2b57927e2953d6e8bacaa68fde13513e.tar.gz |
Revert "Fixes #12187 (#12321)" (#12447)
This reverts commit 00c31e87660d9db813871f5aa23661bf6b9bbdcb.
Diffstat (limited to 'tests/manyloc/keineschweine')
-rw-r--r-- | tests/manyloc/keineschweine/lib/estreams.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manyloc/keineschweine/lib/estreams.nim b/tests/manyloc/keineschweine/lib/estreams.nim index e8a036f03..99cbb63d1 100644 --- a/tests/manyloc/keineschweine/lib/estreams.nim +++ b/tests/manyloc/keineschweine/lib/estreams.nim @@ -26,7 +26,7 @@ proc newBuffer*(pkt: PPacket): PBuffer = copyMem(addr result.data[0], pkt.data, pkt.dataLength) proc toPacket*(buffer: PBuffer; flags: TPacketFlag): PPacket = buffer.data.setLen buffer.pos - result = createPacket(cstring(buffer.data), csize buffer.pos, flags) + result = createPacket(cstring(buffer.data), buffer.pos, flags) proc isDirty*(buffer: PBuffer): bool {.inline.} = result = (buffer.pos != 0) |