diff options
author | dd <dd@FreeBSD.org> | 2001-07-02 23:56:01 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-07-02 23:56:01 +0000 |
commit | edba9b52a2d2c640456bef41368d64238fafd674 (patch) | |
tree | 6013b1b40da143d85dfde8a4be529b58eae4a698 /sbin | |
parent | 1aa95d93559c54673a2b242b4ef4c64a0f93a3bc (diff) | |
download | FreeBSD-src-edba9b52a2d2c640456bef41368d64238fafd674.zip FreeBSD-src-edba9b52a2d2c640456bef41368d64238fafd674.tar.gz |
Correct handling of continuation lines. Instead of treating the
backslash as nothing, treat it like a space so that adjacent lines
aren't glued together.
PR: 8479
Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/mountd/mountd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/mountd/mountd.c b/sbin/mountd/mountd.c index 553fbb6..2ca85f4 100644 --- a/sbin/mountd/mountd.c +++ b/sbin/mountd/mountd.c @@ -2040,6 +2040,10 @@ get_line() cp--; len--; } + if (cont_line) { + *++cp = ' '; + len++; + } *++cp = '\0'; if (len > 0) { totlen += len; |