]> git.sesse.net Git - vlc/commitdiff
* network: fix for proto://host:port url syntax.
authorLaurent Aimar <fenrir@videolan.org>
Thu, 15 Jan 2004 22:39:50 +0000 (22:39 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Thu, 15 Jan 2004 22:39:50 +0000 (22:39 +0000)
include/network.h

index 53d7cd9371f578ceab6c0a0c078938ec5072949f..b4f432f6f51b3271f7a4ad7269dc05c6233b75b6 100644 (file)
@@ -2,7 +2,7 @@
  * network.h: interface to communicate with network plug-ins
  *****************************************************************************
  * 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>
  *          Laurent Aimar <fenrir@via.ecp.fr>
@@ -124,10 +124,7 @@ static inline void vlc_UrlParse( vlc_url_t *url, char *psz_url, char option )
             url->i_port = atoi( p2 );
         }
     }
-    if( p )
-    {
-        psz_parse = p;
-    }
+    psz_parse = p;
 
     /* Now parse psz_path and psz_option */
     if( psz_parse )