* Fix bug from the last checkin.
This commit is contained in:
parent
1fc5f599f1
commit
0d5e89a970
@ -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);
|
sprintf(parent_id, "%s$%X", (parent ? parent:""), i+startID);
|
||||||
ScanDirectory(full_path, parent_id, dir_type);
|
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 )
|
if( insert_file(name, full_path, (parent ? parent:""), i+startID) == 0 )
|
||||||
fileno++;
|
fileno++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user