Skip to content

Commit

Permalink
Merge pull request #137 from alexkwolfe/patch-1
Browse files Browse the repository at this point in the history
ArgumentError: wrong number of arguments (0 for 1)
  • Loading branch information
igrigorik committed Sep 2, 2011
2 parents fae27c0 + f82b41b commit 2c9ec74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/em-http/http_connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def receive_data(data)
@p << data
rescue HTTP::Parser::Error => e
c = @clients.shift
c.nil? ? unbind : c.on_error(e.message)
c.nil? ? unbind(e.message) : c.on_error(e.message)
end
end

Expand Down

0 comments on commit 2c9ec74

Please sign in to comment.