]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
conf: remove backslash from the end of line
authorYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 27 Apr 2009 20:35:26 +0000 (13:35 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 27 Apr 2009 20:35:26 +0000 (13:35 -0700)
src/common/ConfUtils.cc

index 8f88f17c5b32feaa571183a5fade234eaf623155..4ed99237820918c7475b9d580b77a564a6824ecd 100644 (file)
@@ -552,6 +552,7 @@ bool ConfFile::_parse(char *filename, ConfSection **psection)
 
                for (i=0; i<len; i++) {
                        switch (buf[i]) {
+                       case '\\' :
                        case '\r' :
                                continue;
                        case '\n' :