From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OMKzD-0002H1-NJ for garchives@archives.gentoo.org; Wed, 09 Jun 2010 13:06:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A1EDE07AE; Wed, 9 Jun 2010 13:06:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5B7EFE07AE for ; Wed, 9 Jun 2010 13:06:26 +0000 (UTC) Received: from corvid.gentoo.org (corvid.gentoo.org [208.92.234.79]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 076561B4029 for ; Wed, 9 Jun 2010 13:06:26 +0000 (UTC) Received: by corvid.gentoo.org (Postfix, from userid 2136) id BDEA12C5F4; Wed, 9 Jun 2010 13:06:23 +0000 (UTC) From: "Tiziano Mueller (dev-zero)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, dev-zero@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-perl/Net-LDAPapi/files: 3.0.3-ldap_result-no_error.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: 3.0.3-ldap_result-no_error.patch X-VCS-Directories: dev-perl/Net-LDAPapi/files X-VCS-Committer: dev-zero X-VCS-Committer-Name: Tiziano Mueller Content-Type: text/plain; charset=utf8 Message-Id: <20100609130623.BDEA12C5F4@corvid.gentoo.org> Date: Wed, 9 Jun 2010 13:06:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d1437a4e-b8c4-4e19-8362-0d3a5c9aca3e X-Archives-Hash: a71c49b19726103e4b8a9b016890043c 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 retur= n 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_erro= r.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Net-LDAPa= pi/files/3.0.3-ldap_result-no_error.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Net-LDAPa= pi/files/3.0.3-ldap_result-no_error.patch?rev=3D1.1&content-type=3Dtext/p= lain Index: 3.0.3-ldap_result-no_error.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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"} =3D $result; $self->{"status"} =3D $status; =20 - $self->errorize($status); if( $status =3D=3D -1 || $status =3D=3D 0 ) { + $self->errorize($status); return undef; } =20