From 299fedaaae1eb84255e6dae3fd6ea6191005e830 Mon Sep 17 00:00:00 2001 From: kientzle Date: Mon, 7 Jun 2004 03:16:18 +0000 Subject: Per style(9), don't use double spaces in expressions. Pointed out by: njl, des. --- usr.bin/tar/write.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/tar/write.c') diff --git a/usr.bin/tar/write.c b/usr.bin/tar/write.c index a08dc09..b6c4282 100644 --- a/usr.bin/tar/write.c +++ b/usr.bin/tar/write.c @@ -1126,7 +1126,7 @@ free_cache(struct name_cache *cache) if (cache != NULL) { for(i = 0; i < cache->size; i++) { - if (cache->cache[i].name != NULL && + if (cache->cache[i].name != NULL && cache->cache[i].name != NO_NAME) free((void *)(uintptr_t)cache->cache[i].name); } @@ -1249,7 +1249,7 @@ new_enough(struct bsdtar *bsdtar, const char *path, if (path[0] == '.' && path[1] == '/' && path[2] != '\0') path += 2; - if (bsdtar->archive_dir == NULL || + if (bsdtar->archive_dir == NULL || bsdtar->archive_dir->head == NULL) return (1); -- cgit v1.1