fixed LinkTable_print()

This commit is contained in:
Fufu Fang 2019-04-26 19:49:20 +01:00
parent 17587852ff
commit 6cef84874c
1 changed files with 3 additions and 1 deletions

View File

@ -248,7 +248,9 @@ static void LinkTable_print(LinkTable *linktbl)
this_link->linkname,
this_link->f_url
);
if (this_link->type == LINK_INVALID) {
if ((this_link->type != LINK_FILE) &&
(this_link->type != LINK_DIR) &&
(this_link->type != LINK_HEAD)) {
i++;
}