From 0d5e89a970a3967f481c62daa0e6bf9f4be2685a Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Thu, 25 Aug 2011 00:37:10 +0000 Subject: [PATCH] * Fix bug from the last checkin. --- scanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanner.c b/scanner.c index 6dabe49..7360ba7 100644 --- a/scanner.c +++ b/scanner.c @@ -779,7 +779,7 @@ ScanDirectory(const char * dir, const char * parent, enum media_types dir_type) sprintf(parent_id, "%s$%X", (parent ? parent:""), i+startID); ScanDirectory(full_path, parent_id, dir_type); } - else if( type == TYPE_FILE && (access(full_path, R_OK|X_OK) == 0) ) + else if( type == TYPE_FILE && (access(full_path, R_OK) == 0) ) { if( insert_file(name, full_path, (parent ? parent:""), i+startID) == 0 ) fileno++;