You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-perl/Net-LDAPapi/files/3.0.4-ldap_result-no_error....

15 lines
345 B

diff --git a/LDAPapi.pm b/LDAPapi.pm
index 113d922..cba3b61 100644
--- a/LDAPapi.pm
+++ b/LDAPapi.pm
@@ -1355,8 +1355,8 @@ sub result
$self->{"result"} = $result;
$self->{"status"} = $status;
- $self->errorize($status);
if( $status == -1 || $status == 0 ) {
+ $self->errorize($status);
return undef;
}