Commit fd1a7407 authored by Laurent Aimar's avatar Laurent Aimar

* network: fix for proto://host:port url syntax.

parent 2b947947
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* network.h: interface to communicate with network plug-ins * network.h: interface to communicate with network plug-ins
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: network.h,v 1.8 2004/01/06 23:11:47 fenrir Exp $ * $Id: network.h,v 1.9 2004/01/15 22:39:50 fenrir Exp $
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* Laurent Aimar <fenrir@via.ecp.fr> * Laurent Aimar <fenrir@via.ecp.fr>
...@@ -124,10 +124,7 @@ static inline void vlc_UrlParse( vlc_url_t *url, char *psz_url, char option ) ...@@ -124,10 +124,7 @@ static inline void vlc_UrlParse( vlc_url_t *url, char *psz_url, char option )
url->i_port = atoi( p2 ); url->i_port = atoi( p2 );
} }
} }
if( p )
{
psz_parse = p; psz_parse = p;
}
/* Now parse psz_path and psz_option */ /* Now parse psz_path and psz_option */
if( psz_parse ) if( psz_parse )
......
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