[vlc-devel] commit: Remove BSDism ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Aug 2 21:40:45 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 2 22:40:37 2009 +0300| [0de0f85b874bb4296c2e67709729739e8d0d8f35] | committer: Rémi Denis-Courmont
Remove BSDism
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0de0f85b874bb4296c2e67709729739e8d0d8f35
---
modules/stream_out/raop.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/stream_out/raop.c b/modules/stream_out/raop.c
index e4eaa4e..8a79a55 100644
--- a/modules/stream_out/raop.c
+++ b/modules/stream_out/raop.c
@@ -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';
}
More information about the vlc-devel
mailing list