[interchange-cvs] interchange - jon modified lib/Vend/ModPerl.pm
interchange-core@interchange.redhat.com
interchange-core@interchange.redhat.com
Mon Jul 8 20:18:01 2002
User: jon
Date: 2002-07-09 00:17:34 GMT
Modified: lib/Vend ModPerl.pm
Log:
Remove duplicate test on $http.
Revision Changes Path
2.2 +3 -3 interchange/lib/Vend/ModPerl.pm
rev 2.2, prev_rev 2.1
Index: ModPerl.pm
=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
RCS file: /var/cvs/interchange/lib/Vend/ModPerl.pm,v
retrieving revision 2.1
retrieving revision 2.2
diff -u -u -r2.1 -r2.2
--- ModPerl.pm 27 Jun 2002 18:59:36 -0000 2.1
+++ ModPerl.pm 9 Jul 2002 00:17:34 -0000 2.2
@@ -1,6 +1,6 @@
# Vend::ModPerl - Run Interchange inside Apache and mod_perl
#
-# $Id: ModPerl.pm,v 2.1 2002/06/27 18:59:36 jon Exp $
+# $Id: ModPerl.pm,v 2.2 2002/07/09 00:17:34 jon Exp $
#
# Copyright (C) 2002 Red Hat, Inc. <interchange@redhat.com>
#
@@ -20,7 +20,7 @@
=20
package Vend::ModPerl;
=20
-$VERSION =3D substr(q$Revision: 2.1 $, 10);
+$VERSION =3D substr(q$Revision: 2.2 $, 10);
=20
use Apache::Constants qw(:common);
use Apache::Request ();
@@ -62,7 +62,7 @@
tie *OUT, 'Apache';
my $http =3D new Vend::Server \*OUT, \%env, \$entity;
return NOT_FOUND unless $http;
- ::dispatch($http) if $http;
+ ::dispatch($http);
undef $::Instance;
undef $Vend::Cfg;
return OK;