git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b169d8
)
Remove BSDism
author
Rémi Denis-Courmont
<remi@remlab.net>
Sun, 2 Aug 2009 19:40:37 +0000
(22:40 +0300)
committer
Rémi Denis-Courmont
<remi@remlab.net>
Sun, 2 Aug 2009 19:40:37 +0000
(22:40 +0300)
modules/stream_out/raop.c
patch
|
blob
|
history
diff --git
a/modules/stream_out/raop.c
b/modules/stream_out/raop.c
index
e4eaa4e
..
8a79a55
100644
(file)
--- 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';
}