Return-Path: Delivered-To: apmail-httpd-apreq-cvs-archive@www.apache.org Received: (qmail 65809 invoked from network); 25 May 2005 17:19:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 May 2005 17:19:43 -0000 Received: (qmail 28883 invoked by uid 500); 25 May 2005 17:19:43 -0000 Delivered-To: apmail-httpd-apreq-cvs-archive@httpd.apache.org Received: (qmail 28856 invoked by uid 500); 25 May 2005 17:19:43 -0000 Mailing-List: contact apreq-cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: apreq-dev@httpd.apache.org List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-cvs@httpd.apache.org Received: (qmail 28841 invoked by uid 99); 25 May 2005 17:19:43 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 25 May 2005 10:19:43 -0700 Received: (qmail 65793 invoked by uid 65534); 25 May 2005 17:19:41 -0000 Message-ID: <20050525171941.65791.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: svn commit: r178491 - /httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm Date: Wed, 25 May 2005 17:19:41 -0000 To: apreq-cvs@httpd.apache.org From: joes@apache.org X-Mailer: svnmailer-1.0.0-dev X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: joes Date: Wed May 25 10:19:41 2005 New Revision: 178491 URL: http://svn.apache.org/viewcvs?rev=3D178491&view=3Drev Log: Fix $jar->cookies("foo"). =20 Modified: httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm Modified: httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/lib/Apache2/= Cookie.pm?rev=3D178491&r1=3D178490&r2=3D178491&view=3Ddiff =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=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm (original) +++ httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm Wed May 25 10:19:41 2= 005 @@ -39,6 +39,7 @@ =20 my $jar =3D $req->jar or return; $jar->cookie_class(__PACKAGE__); + return $jar->get(shift) if @_; return wantarray ? %$jar : $jar; } =20 @@ -92,7 +93,7 @@ package Apache2::Cookie::Jar; use APR::Request::Apache2; push our @ISA, qw/APR::Request::Apache2/; -sub cookies { Apache2::Cookie->fetch(shift) } +sub cookies { Apache2::Cookie->fetch(@_) } *Apache2::Cookie::Jar::status =3D *APR::Request::jar_status; =20 my %old_args =3D (