about summary refs log tree commit diff stats
path: root/092socket.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-07 13:30:31 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-07 13:30:31 -0700
commit5c57c75692e9e976a70537576d203569608aade2 (patch)
treec05ab9361662d31ab1664a4f9ca975b6bd6a81ab /092socket.mu
parent7955af48cf8def1139287cf4036b07fefb57aa94 (diff)
downloadmu-5c57c75692e9e976a70537576d203569608aade2.tar.gz
3464
Diffstat (limited to '092socket.mu')
-rw-r--r--092socket.mu3
1 files changed, 1 insertions, 2 deletions
diff --git a/092socket.mu b/092socket.mu
index 0a2bac1d..1e4f8c3c 100644
--- a/092socket.mu
+++ b/092socket.mu
@@ -27,8 +27,7 @@ def new-port-connection port:num, contents:text -> p:&:port-connection [
   local-scope
   load-ingredients
   p:&:port-connection <- new port-connection:type
-  *p <- put *p, port:offset, port
-  *p <- put *p, contents:offset, contents
+  *p <- merge port, contents
 ]
 
 def new-fake-network -> n:&:local-network [