diff options
author | bptato <nincsnevem662@gmail.com> | 2024-06-22 18:14:21 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-06-22 18:15:56 +0200 |
commit | f6db5536c834185f7078e9614db7cca9faf3d153 (patch) | |
tree | 7e54b442eeea22cf2e3615adc75142b2606fbc03 /src/local/client.nim | |
parent | 3e353c07a5c3d5f6c22062adf684cea59c0e86a3 (diff) | |
download | chawan-f6db5536c834185f7078e9614db7cca9faf3d153.tar.gz |
misc cleanups
Diffstat (limited to 'src/local/client.nim')
-rw-r--r-- | src/local/client.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/client.nim b/src/local/client.nim index 78213b6e..24510106 100644 --- a/src/local/client.nim +++ b/src/local/client.nim @@ -475,7 +475,7 @@ proc handleRead(client: Client; fd: int) = var hadlf = true while true: try: - let n = estream.recvData(addr buffer[0], BufferSize) + let n = estream.recvData(buffer) if n == 0: break var i = 0 |