Commit cc1e341b authored by Gervase Markham's avatar Gervase Markham Committed by Gervase Markham

Suppress warning relating to new constant.

parent a4599dde
......@@ -584,7 +584,7 @@ sub _check_filename {
# Truncate the filename to MAX_ATTACH_FILENAME_LENGTH characters, counting
# from the end of the string to make sure we keep the filename extension.
$filename = substr($filename,
-MAX_ATTACH_FILENAME_LENGTH,
-&MAX_ATTACH_FILENAME_LENGTH,
MAX_ATTACH_FILENAME_LENGTH);
trick_taint($filename);
......
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