[vlc-devel] commit: Match localhost plus / not localhost plus directory separator ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Jul 18 11:01:04 CEST 2009
vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 18 12:00:55 2009 +0300| [b200abacf9f8356a38a158439c19ec759d797f1f] | committer: Rémi Denis-Courmont
Match localhost plus / not localhost plus directory separator
(cherry picked from commit a8820e3ef72390eea921d4d421e0f8735d053fa6)
Conflicts:
src/input/input.c
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b200abacf9f8356a38a158439c19ec759d797f1f
---
src/input/input.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index b18914b..8c38dba 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2356,7 +2356,7 @@ static int InputSourceInit( input_thread_t *p_input,
)
{ /* host specified -> only localhost is supported */
static const unsigned localhostLen = 9; /* strlen("localhost") */
- if (!strncmp( psz_path, "localhost" DIR_SEP, localhostLen + 1))
+ if (!strncmp( psz_path, "localhost/", localhostLen + 1))
psz_path += localhostLen;
else
{
More information about the vlc-devel
mailing list