Clear dform and dsec when exiting a first-level directory in treescan().
authorschwarze <schwarze@openbsd.org>
Mon, 12 Oct 2015 00:32:37 +0000 (00:32 +0000)
committerschwarze <schwarze@openbsd.org>
Mon, 12 Oct 2015 00:32:37 +0000 (00:32 +0000)
commit6434b1e6d2335e250ed60a317a585cd8821b8909
tree91c5afe98f026972c2bd5306a3ed45ad23420e1d
parent5f57b3c91256e811ec40a5253cad6e3626622d25
Clear dform and dsec when exiting a first-level directory in treescan().
Fixes a segfault reported by bentley@.
While here, do some style cleanup in the same function.
usr.bin/mandoc/mandocdb.c