summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar/write.c
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-06-07 03:16:18 +0000
committerkientzle <kientzle@FreeBSD.org>2004-06-07 03:16:18 +0000
commit299fedaaae1eb84255e6dae3fd6ea6191005e830 (patch)
tree7589b8ef024f8955d1a835214c96f80adc942efe /usr.bin/tar/write.c
parentf0a68c5d24ee761f311d908d1356100bcd990d91 (diff)
downloadFreeBSD-src-299fedaaae1eb84255e6dae3fd6ea6191005e830.zip
FreeBSD-src-299fedaaae1eb84255e6dae3fd6ea6191005e830.tar.gz
Per style(9), don't use double spaces in expressions.
Pointed out by: njl, des.
Diffstat (limited to 'usr.bin/tar/write.c')
-rw-r--r--usr.bin/tar/write.c4
1 files changed, 2 insertions, 2 deletions
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);
OpenPOWER on IntegriCloud