Permalink
Browse files

Fix copy & paste errors in Net::LDAP::Message

  • Loading branch information...
1 parent 10e0ba9 commit 3a0c80563286e799df2579a456511821e21ed804 @gbarr gbarr committed Sep 3, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/Net/LDAP/Message.pm
View
@@ -250,12 +250,13 @@ sub Net::LDAP::Compare::is_error {
package Net::LDAP::Message::Dummy;
use vars qw(@ISA);
@ISA = qw(Net::LDAP::Message);
+ use Net::LDAP::Constant qw(LDAP_SUCCESS);
sub sync { shift }
sub decode { shift }
sub abandon { shift }
- sub code { $self->{resultcode} || LDAP_SUCCESS }
- sub error { $self->{errorMessage} || "" }
+ sub code { shift->{resultCode} || LDAP_SUCCESS }
+ sub error { shift->{errorMessage} || "" }
sub dn { "" }
sub done { 1 }
}

0 comments on commit 3a0c805

Please sign in to comment.