about summary refs log tree commit diff stats
path: root/src/ips
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-01-05 15:19:39 +0100
committerbptato <nincsnevem662@gmail.com>2023-01-05 15:19:39 +0100
commitc01c4f7c246f53ff954f4a8cbad65f0c10e1c0ed (patch)
tree651ffdbca61e13285ae7da38023222458cf258f7 /src/ips
parente6c975ba2063c51c60829d0dad4aad10832bd926 (diff)
downloadchawan-c01c4f7c246f53ff954f4a8cbad65f0c10e1c0ed.tar.gz
socketstream: remove todo
Diffstat (limited to 'src/ips')
-rw-r--r--src/ips/socketstream.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ips/socketstream.nim b/src/ips/socketstream.nim
index 5a030427..af173d1a 100644
--- a/src/ips/socketstream.nim
+++ b/src/ips/socketstream.nim
@@ -39,7 +39,6 @@ proc sockReadData(s: Stream, buffer: pointer, len: int): int =
     s.isend = true
 
 proc sockWriteData(s: Stream, buffer: pointer, len: int) =
-  #TODO maybe don't block if blk is false?
   var i = 0
   while i < len:
     let n = SocketStream(s).source.send(cast[pointer](cast[int](buffer) + i), len - i)