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

Remove BSDism

parent 4b169d8e
......@@ -29,7 +29,6 @@
#endif
#include <assert.h>
#include <strings.h>
#include <gcrypt.h>
......@@ -590,7 +589,7 @@ static char *ReadPasswordFile( vlc_object_t *p_this, const char *psz_path )
} else {
/* Replace first newline with '\0' */
psz_newline = index( ps_buffer, '\n' );
psz_newline = strchr( ps_buffer, '\n' );
if ( psz_newline != NULL )
*psz_newline = '\0';
}
......
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