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

Use ANSI isspace() for crap compilers that don't know about C99 isblank()

parent e29270a6
...@@ -291,8 +291,12 @@ int ACL_LoadFile( vlc_acl_t *p_acl, const char *psz_path ) ...@@ -291,8 +291,12 @@ int ACL_LoadFile( vlc_acl_t *p_acl, const char *psz_path )
psz_ip = line; psz_ip = line;
/* skips blanks */ /* skips blanks */
while( isblank( *psz_ip ) ) while( isspace( *psz_ip ) )
{
if( *psz_ip == '\n' )
continue;
psz_ip++; psz_ip++;
}
ptr = strchr( psz_ip, '\n' ); ptr = strchr( psz_ip, '\n' );
if( ptr == NULL ) if( ptr == NULL )
......
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