From edba9b52a2d2c640456bef41368d64238fafd674 Mon Sep 17 00:00:00 2001 From: dd Date: Mon, 2 Jul 2001 23:56:01 +0000 Subject: 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 --- usr.sbin/mountd/mountd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'usr.sbin/mountd') diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index 553fbb6..2ca85f4 100644 --- a/usr.sbin/mountd/mountd.c +++ b/usr.sbin/mountd/mountd.c @@ -2040,6 +2040,10 @@ get_line() cp--; len--; } + if (cont_line) { + *++cp = ' '; + len++; + } *++cp = '\0'; if (len > 0) { totlen += len; -- cgit v1.1