From c4cf2947602501eba0093044648b8c24cc56ef3c Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Mon, 27 Apr 2009 13:31:39 -0700 Subject: [PATCH] conf: add backslash line continuation --- src/common/ConfUtils.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/ConfUtils.cc b/src/common/ConfUtils.cc index 6139076618e6b..8f88f17c5b32f 100644 --- a/src/common/ConfUtils.cc +++ b/src/common/ConfUtils.cc @@ -555,6 +555,8 @@ bool ConfFile::_parse(char *filename, ConfSection **psection) case '\r' : continue; case '\n' : + if (l > 0 && line[l-1] == '\\') + continue; line[l] = '\0'; cl = new ConfLine(); parse_line(line, cl); -- 2.39.5