projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05fd51f
)
Don't treat lines with just whitespace as continations
author
Jamie Cameron
<jcameron@webmin.com>
Thu, 22 Oct 2009 16:36:52 +0000
(09:36 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Thu, 22 Oct 2009 16:36:52 +0000
(09:36 -0700)
postfix/postfix-lib.pl
patch
|
blob
|
history
diff --git
a/postfix/postfix-lib.pl
b/postfix/postfix-lib.pl
index
7dd666d
..
98fbe76
100755
(executable)
--- a/
postfix/postfix-lib.pl
+++ b/
postfix/postfix-lib.pl
@@
-119,7
+119,7
@@
my ($begin_flag, $end_flag);
foreach my $l (@$lref) {
# changes made to this loop by Dan Hartman of Rae Internet /
# Message Partners for multi-line parsing 2007-06-04
- if ($begin_flag == 1 && $l =~ /^(\s+[^#].+)/) {
+ if ($begin_flag == 1 && $l =~ /
\S/ && $l =~ /
^(\s+[^#].+)/) {
# non-comment continuation line, and replace tabs with spaces
$out .= $1;
$out =~ s/^\s+/ /;