Add comment regarding detainting in showlog.pl
git-svn-id: svn://10.0.0.236/trunk@148002 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9b62fa71ff
commit
b4fb59cdcd
@ -50,6 +50,8 @@ sub ensure_uncompressed {
|
||||
|
||||
sub create_logfile_name {
|
||||
my ($machine_id) = @_;
|
||||
# This string is detainted in showlog.pl; if you change the format
|
||||
# be sure to change the detaint expression as well.
|
||||
return time2str("%Y%m%d%H%M%S.log", time);
|
||||
}
|
||||
|
||||
|
||||
@ -50,6 +50,8 @@ sub ensure_uncompressed {
|
||||
|
||||
sub create_logfile_name {
|
||||
my ($machine_id) = @_;
|
||||
# This string is detainted in showlog.pl; if you change the format
|
||||
# be sure to change the detaint expression as well.
|
||||
return time2str("%Y%m%d%H%M%S.log", time);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user