Skip to content

Commit

Permalink
fix crystal 0.20.3 chomping in socket.gets
Browse files Browse the repository at this point in the history
  • Loading branch information
kostya committed Dec 24, 2016
1 parent 7955093 commit 8d7e448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redis/connection.cr
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class Redis::Connection
end

def receive_line
line = @socket.gets
line = @socket.gets(chomp: false)
unless line
raise Redis::DisconnectedError.new
end
Expand Down

0 comments on commit 8d7e448

Please sign in to comment.