public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-perl/Net-LDAPapi/files: 3.0.3-ldap_result-no_error.patch
@ 2010-06-09 13:06 Tiziano Mueller (dev-zero)
  0 siblings, 0 replies; only message in thread
From: Tiziano Mueller (dev-zero) @ 2010-06-09 13:06 UTC (permalink / raw
  To: gentoo-commits

dev-zero    10/06/09 13:06:23

  Added:                3.0.3-ldap_result-no_error.patch
  Log:
  Added patch to not treat results from ldap_results as normal ldap return values in 'sub error' (as in 3.0.2).
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-perl/Net-LDAPapi/files/3.0.3-ldap_result-no_error.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Net-LDAPapi/files/3.0.3-ldap_result-no_error.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Net-LDAPapi/files/3.0.3-ldap_result-no_error.patch?rev=1.1&content-type=text/plain

Index: 3.0.3-ldap_result-no_error.patch
===================================================================
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;
     }
 






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-09 13:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-09 13:06 [gentoo-commits] gentoo-x86 commit in dev-perl/Net-LDAPapi/files: 3.0.3-ldap_result-no_error.patch Tiziano Mueller (dev-zero)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox