about summary refs log tree commit diff stats
path: root/src/local/client.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-06-22 18:14:21 +0200
committerbptato <nincsnevem662@gmail.com>2024-06-22 18:15:56 +0200
commitf6db5536c834185f7078e9614db7cca9faf3d153 (patch)
tree7e54b442eeea22cf2e3615adc75142b2606fbc03 /src/local/client.nim
parent3e353c07a5c3d5f6c22062adf684cea59c0e86a3 (diff)
downloadchawan-f6db5536c834185f7078e9614db7cca9faf3d153.tar.gz
misc cleanups
Diffstat (limited to 'src/local/client.nim')
-rw-r--r--src/local/client.nim2
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