Clear gzipped glag
authorJamie Cameron <jcameron@webmin.com>
Sat, 19 Mar 2011 05:16:35 +0000 (22:16 -0700)
committerJamie Cameron <jcameron@webmin.com>
Sat, 19 Mar 2011 05:16:35 +0000 (22:16 -0700)
miniserv.pl

index c5d0553..a2738d0 100755 (executable)
@@ -2434,6 +2434,7 @@ else {
        # A file to output
        print DEBUG "handle_request: outputting file $full\n";
        $gzfile = $full.".gz";
+       $gzipped = 0;
        if ($config{'gzip'} ne '0' && -r $gzfile && $acceptenc{'gzip'}) {
                # Using gzipped version
                @stopen = stat($gzfile);