httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: [apreq-2] glue/perl cookie test
Date Thu, 13 Nov 2003 13:16:39 GMT
Randy Kobes <randy@theoryx5.uwinnipeg.ca> writes:

> Hi,
>    With the current cvs, I get a failure in a couple
> of the glue/perl cookie tests, due to some warnings
> about uninitialized values. This diff:
> ======================================================
> Index: t/response/TestApreq/cookie.pm
> ===================================================================
> RCS file: /home/cvs/httpd-apreq-2/glue/perl/t/response/TestApReq/cookie.pm,v
> retrieving revision 1.8
> diff -u -r1.8 cookie.pm
> --- t/response/TestApreq/cookie.pm	13 Nov 2003 04:05:20 -0000	1.8
> +++ t/response/TestApreq/cookie.pm	13 Nov 2003 06:34:46 -0000
> @@ -20,7 +20,7 @@
>      my $test = $req->param('test');
>      my $key  = $req->param('key');
> 
> -    if ($cookies{$key}) {
> +    if ($key and $cookies{$key}) {
>          if ($test eq "bake") {
>              $cookies{$key}->bake;
>          }
> ==============================================================
> fixes that.

Thanks, applied.

-- 
Joe Schaefer


Mime
View raw message