about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-18 10:32:27 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-18 10:32:27 -0700
commit9c78e58e686e23aecfe1b229fc5abc8e0b4f8e3b (patch)
treee5c4a53ab22326299175381ffdd0462b553065cd
parent666191cba363d91c6beb8a23b26d48a7f726e4ad (diff)
downloadmu-9c78e58e686e23aecfe1b229fc5abc8e0b4f8e3b.tar.gz
3518
The bugfix of commit 3517 allows us to drop this redundant condition.
-rw-r--r--092socket.mu2
1 files changed, 0 insertions, 2 deletions
diff --git a/092socket.mu b/092socket.mu
index 27d12bde..43e98f22 100644
--- a/092socket.mu
+++ b/092socket.mu
@@ -127,8 +127,6 @@ def receive-from-socket session:num, sink:&:sink:char -> sink:&:sink:char [
       done?:bool <- greater-or-equal i, bytes-read
       break-if done?
       c:char <- index *req, i
-      end-of-request?:bool <- equal c, 10/newline
-      break-if end-of-request? # To be safe, for now.
       sink <- write sink, c
       i <- add i, 1
       loop