Commit 3fb5e5f0 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix another small bug.

parent 94e91ca0
...@@ -229,7 +229,7 @@ sub VerifyFile() ...@@ -229,7 +229,7 @@ sub VerifyFile()
# Stat the file to confirm that its either owned by the experiment # Stat the file to confirm that its either owned by the experiment
# creator, or in the gid of the experiment. # creator, or in the gid of the experiment.
# #
my (undef,undef,undef,undef,$stat_uid,$stat_gid,undef,$bytelen, my (undef,undef,undef,undef,$stat_uid,$stat_gid,undef,$length,
undef,$mtime) = stat($translated); undef,$mtime) = stat($translated);
my ($unix_uid, $unix_gid, $unix_gname); my ($unix_uid, $unix_gid, $unix_gname);
...@@ -257,6 +257,7 @@ sub VerifyFile() ...@@ -257,6 +257,7 @@ sub VerifyFile()
if (defined($timestamp) && $timestamp >= $mtime); if (defined($timestamp) && $timestamp >= $mtime);
$file = $translated; $file = $translated;
$bytelen = $length;
return 0; return 0;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment