Fix: Harmonize DIR/TMP in uvvote.pl.

There was a bug introduced in 4.0.9 by changing TMP to DIR
just in one place.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2010-08-17 07:37:21 +02:00
parent 45110d89e2
commit ccfa122651

View file

@ -122,9 +122,9 @@ if ($clean) {
# normally unixtime is sufficient, if it is not unique append our PID # normally unixtime is sufficient, if it is not unique append our PID
my $ext = time; my $ext = time;
opendir (TMP, $config{tmpdir}); opendir (DIR, $config{tmpdir});
my @tmpfiles = readdir (DIR); my @tmpfiles = readdir (DIR);
closedir (TMP); closedir (DIR);
opendir (FERTIG, $config{archivedir}); opendir (FERTIG, $config{archivedir});
my @fertigfiles = readdir (FERTIG); my @fertigfiles = readdir (FERTIG);
closedir (FERTIG); closedir (FERTIG);