forked from extern/shorewall_code
Performance tweak to read_a_line()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
a7fda02d88
commit
3960fa6e0e
@ -3450,7 +3450,7 @@ sub read_a_line($) {
|
||||
#
|
||||
# Suppress leading whitespace in certain continuation lines
|
||||
#
|
||||
s/^\s*// if $currentline && $currentline =~ /[,:]$/ && $options & CONFIG_CONTINUATION;
|
||||
s/^\s*// if $currentline && $options & CONFIG_CONTINUATION && $currentline =~ /[,:]$/;
|
||||
#
|
||||
# If this is a continued line with a trailing comment, remove comment. Note that
|
||||
# the result will now end in '\'.
|
||||
|
Loading…
Reference in New Issue
Block a user