diff --git a/src/common.h b/src/common.h index 5d4f83bf..5d7cfae7 100644 --- a/src/common.h +++ b/src/common.h @@ -809,16 +809,16 @@ COMMON_INLINE bool isfound (struct name const *c) { return (occurrence_option == 0 - ? (c)->found_count != 0 - : (c)->found_count == occurrence_option); + ? c->found_count != 0 + : c->found_count == occurrence_option); } COMMON_INLINE bool wasfound (struct name const *c) { return (occurrence_option == 0 - ? (c)->found_count != 0 - : occurrence_option <= (c)->found_count); + ? c->found_count != 0 + : occurrence_option <= c->found_count); } /* Module tar.c. */ diff --git a/src/names.c b/src/names.c index ced15aee..0d849fbf 100644 --- a/src/names.c +++ b/src/names.c @@ -1198,7 +1198,7 @@ name_gather (void) namelist = nametail = buffer; } else if (change_dir) - addname (0, change_dir, false, NULL); + addname (NULL, change_dir, false, NULL); } else {