diff options
Diffstat (limited to 'dev-perl/Net-LDAPapi/files/3.0.4-ldap_result-no_error.patch')
-rw-r--r-- | dev-perl/Net-LDAPapi/files/3.0.4-ldap_result-no_error.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-perl/Net-LDAPapi/files/3.0.4-ldap_result-no_error.patch b/dev-perl/Net-LDAPapi/files/3.0.4-ldap_result-no_error.patch new file mode 100644 index 000000000000..d1003ee9ae7e --- /dev/null +++ b/dev-perl/Net-LDAPapi/files/3.0.4-ldap_result-no_error.patch @@ -0,0 +1,14 @@ +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; + } + |