summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-05-18 15:15:30 +0000
committerru <ru@FreeBSD.org>2002-05-18 15:15:30 +0000
commitb42b3c60fc1040a48e6d22a607653f45e80121c7 (patch)
treeacc153b728b157a1e5c142cef52f3d5fea804464
parent83845db29a67785060e90a51a4af781487c9354d (diff)
downloadFreeBSD-src-b42b3c60fc1040a48e6d22a607653f45e80121c7.zip
FreeBSD-src-b42b3c60fc1040a48e6d22a607653f45e80121c7.tar.gz
More whitespace fixes.
-rw-r--r--usr.bin/makewhatis/makewhatis.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/makewhatis/makewhatis.c b/usr.bin/makewhatis/makewhatis.c
index 5098431..c9a217d 100644
--- a/usr.bin/makewhatis/makewhatis.c
+++ b/usr.bin/makewhatis/makewhatis.c
@@ -608,10 +608,12 @@ process_mdoc_line(char *line)
next = ++line;
for (;;) {
next = strchr(next, '"');
- if (next == NULL || *next != '"')
+ if (next == NULL)
break;
strcpy(next, &next[1]);
line_end--;
+ if (*next != '"')
+ break;
next++;
}
} else
OpenPOWER on IntegriCloud