Skip to content

Commit

Permalink
Return the first response if there is only one response correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jan 24, 2014
1 parent 48f203a commit 3692138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/client/connection/droonga_protocol.rb
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def receive(receiver, options)
if responses.size > 1
responses
else
response
responses.first
end
end
ensure
Expand Down

0 comments on commit 3692138

Please sign in to comment.