Commit bfd061bb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

FTP: directories cannot be sought

parent 6f533a25
...@@ -584,7 +584,7 @@ static int Control( access_t *p_access, int i_query, va_list args ) ...@@ -584,7 +584,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
/* */ /* */
case ACCESS_CAN_SEEK: case ACCESS_CAN_SEEK:
pb_bool = (bool*)va_arg( args, bool* ); pb_bool = (bool*)va_arg( args, bool* );
*pb_bool = true; *pb_bool = !p_access->p_sys->directory;
break; break;
case ACCESS_CAN_FASTSEEK: case ACCESS_CAN_FASTSEEK:
pb_bool = (bool*)va_arg( args, bool* ); pb_bool = (bool*)va_arg( args, bool* );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment