diff options
-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 { |