Fix: Harmonize DIR/TMP in uvvote.pl.
authorThomas Hochstein <thh@inter.net>
Tue, 17 Aug 2010 05:37:21 +0000 (07:37 +0200)
committerThomas Hochstein <thh@inter.net>
Tue, 17 Aug 2010 05:37:21 +0000 (07:37 +0200)
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>
uvvote.pl

index a86ef43..72a366e 100644 (file)
--- a/uvvote.pl
+++ b/uvvote.pl
@@ -122,9 +122,9 @@ if ($clean) {
   # normally unixtime is sufficient, if it is not unique append our PID
   my $ext = time;
 
-  opendir (TMP, $config{tmpdir});
+  opendir (DIR, $config{tmpdir});
   my @tmpfiles = readdir (DIR);
-  closedir (TMP);
+  closedir (DIR);
   opendir (FERTIG, $config{archivedir});
   my @fertigfiles = readdir (FERTIG);
   closedir (FERTIG);
This page took 0.011828 seconds and 4 git commands to generate.