[libnet-openid-common-perl] 16/34: fix apache::request comparison

gregor herrmann gregoa at debian.org
Sun Feb 7 21:50:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to annotated tag v1.030099_001
in repository libnet-openid-common-perl.

commit 1f90501f02ae980b30c1dcf667f1e83d9f3c47ef
Author: Robert Norris <rob at eatenbyagrue.org>
Date:   Thu Nov 4 10:37:47 2010 +1100

    fix apache::request comparison
---
 lib/Net/OpenID/IndirectMessage.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Net/OpenID/IndirectMessage.pm b/lib/Net/OpenID/IndirectMessage.pm
index 4ffaaca..6849287 100644
--- a/lib/Net/OpenID/IndirectMessage.pm
+++ b/lib/Net/OpenID/IndirectMessage.pm
@@ -40,7 +40,7 @@ sub new {
         $getter = sub { $get{$_[0]}; };
         $enumer = sub { keys(%get); };
     }
-    elsif (ref $what eq "Apache::Request") || ($ref $what eq "Apache2::Request") {
+    elsif ((ref $what eq "Apache::Request") || (ref $what eq "Apache2::Request")) {
         # Apache::Request includes the POST and GET arguments in ->param
         # when doing a POST request, which is close enough to what
         # the spec requires.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-openid-common-perl.git



More information about the Pkg-perl-cvs-commits mailing list