Skip to content

Commit

Permalink
refactor resend case
Browse files Browse the repository at this point in the history
  • Loading branch information
bmizerany committed May 9, 2011
1 parent 6d0b98a commit 798d1f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/fraggle/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ def send(req, &blk)
def resend(req, &blk)
send(req) do |e, err|
case err
when nil
blk.call(e, err)
when Connection::DisconnectedError
req.tag = nil
resend(req, &blk)
Expand Down

0 comments on commit 798d1f3

Please sign in to comment.