diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-20 23:06:27 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-20 23:06:27 -0700 |
commit | ca6fa799408122f570b1e6733370a528cdbc3a21 (patch) | |
tree | 75548e8bef8b78d7ac1ad48bc605f3a869075cfc | |
parent | 20037b7c6d510d9f64984db4c51bfe893f7e3e33 (diff) | |
download | mu-ca6fa799408122f570b1e6733370a528cdbc3a21.tar.gz |
3535
-rw-r--r-- | 092socket.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/092socket.mu b/092socket.mu index e7a57b5d..6a5c427a 100644 --- a/092socket.mu +++ b/092socket.mu @@ -161,11 +161,11 @@ def transmit-to-fake-socket network:&:local-network, port:num, source:&:source:c put-index *new-port-connections, len, *new-port-connection ] -def receive-from-socket session:num, sink:&:sink:char -> sink:&:sink:char [ +def receive-from-socket socket:num, sink:&:sink:char -> sink:&:sink:char [ local-scope load-ingredients { - req:text, eof?:bool <- $read-from-socket session, 4096/bytes + req:text, eof?:bool <- $read-from-socket socket, 4096/bytes bytes-read:num <- length *req i:num <- copy 0 { |