Skip to content

Commit

Permalink
Fix timecard_stamp() to support a passed timestamp.
Browse files Browse the repository at this point in the history
timecard_stamp() was originally designed and documented to support the ability
to pass a timestamp as a second arg, but due to a typo it never has.  This
commit fixes that issue.
  • Loading branch information
pajamian committed Jun 21, 2018
1 parent 027f3df commit 33eb533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Vend/Util.pm
Expand Up @@ -2447,7 +2447,7 @@ sub timecard_stamp {
open(FH, '>>', $filename) or die "Can't open $filename for append: $!";
lockfile(\*FH, 1, 1);
binmode FH;
print FH pack('N',time);
print FH pack('N',$timestamp);
unlockfile(\*FH);
close FH;
}
Expand Down

0 comments on commit 33eb533

Please sign in to comment.