Skip to content

Commit

Permalink
Fixes #4378 sample/tcp_server.cr
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian J. Cardiff committed May 4, 2017
1 parent 3b752a3 commit d2dcc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/tcp_server.cr
Expand Up @@ -8,7 +8,7 @@ def process(client)

while msg = client.read_line
puts "#{client_addr} msg '#{msg}'"
client << msg
client.puts msg
end
rescue IO::EOFError
puts "#{client_addr} disconnected"
Expand Down

0 comments on commit d2dcc02

Please sign in to comment.