Skip to content

Commit

Permalink
Fix arguments of connect_error
Browse files Browse the repository at this point in the history
Same problem
  • Loading branch information
yannk committed Oct 19, 2009
1 parent 0882a15 commit cd7e79e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AnyEvent/Superfeedr.pm
Expand Up @@ -71,7 +71,7 @@ sub new {
)->(@_);
},
connect_error => sub {
my ($account, $reason) = @_;
my ($cl, $account, $reason) = @_;
my $jid = $account->bare_jid;
$on_error->("connection error for $jid: $reason");
},
Expand Down

0 comments on commit cd7e79e

Please sign in to comment.