Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/azatoth/minidlna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard@users.sourceforce.net>2011-08-25 04:37:10 +0400
committerJustin Maggard <jmaggard@users.sourceforce.net>2011-08-25 04:37:10 +0400
commitec37db333a9f9310013d77c145795eed3eeb7fd1 (patch)
tree29b5af95afb7e66b19d1041085b111a571734c70 /scanner.c
parent48fc033a5929cd776cb1ebe137de692f296668a9 (diff)
* Fix bug from the last checkin.
Diffstat (limited to 'scanner.c')
-rw-r--r--scanner.c2
1 files changed, 1 insertions, 1 deletions
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++;