]> git.sesse.net Git - pr0n/commitdiff
Fix a typo; we don't auto-import stuff.
authorSteinar H. Gunderson <sesse@debian.org>
Mon, 25 Dec 2006 20:33:36 +0000 (21:33 +0100)
committerSteinar H. Gunderson <sesse@debian.org>
Mon, 25 Dec 2006 20:33:36 +0000 (21:33 +0100)
perl/Sesse/pr0n/pr0n.pm

index 1395168f224a7f8e209305e5c334c315085fffe2..0175c95547b8d3afa082371363bae076ef3ff263 100644 (file)
@@ -37,7 +37,7 @@ sub handler {
                $r->set_content_length($size);  
                $r->set_last_modified($mtime);
 
                $r->set_content_length($size);  
                $r->set_last_modified($mtime);
 
-               if((my $rc = $r->meets_conditions) != OK) {
+               if((my $rc = $r->meets_conditions) != Apache2::Const::OK) {
                        return $rc;
                }
 
                        return $rc;
                }