bin/sample_forking_server in bluepill-0.0.69 vs bin/sample_forking_server in bluepill-0.0.70
- old
+ new
@@ -41,10 +41,10 @@
exit
end
puts "child #{$PROCESS_ID} accepting on shared socket (localhost:#{port})"
loop do
- socket, _ = acceptor.accept
+ socket, = acceptor.accept
socket.write "child #{$PROCESS_ID} echo> "
socket.flush
message = socket.gets
socket.write message
socket.close