]> git.sesse.net Git - vlc/blobdiff - src/input/input_network.c
. input fichier en ligne de commande (le reste a du p�ter, c'est pas
[vlc] / src / input / input_network.c
index 343b9c2fac61e8de815e0a16b4172e7bc02839dc..9be288c9f2f099f515f672fb107e3c1455249564 100644 (file)
@@ -186,12 +186,12 @@ int input_NetworkOpen( input_thread_t *p_input )
      */
 
     /* Use default host if not specified */
-    if( p_input->psz_source == NULL )
+    if( p_input->p_source == NULL )
     {
-        p_input->psz_source = main_GetPszVariable( INPUT_SERVER_VAR, INPUT_SERVER_DEFAULT );
+        p_input->p_source = main_GetPszVariable( INPUT_SERVER_VAR, INPUT_SERVER_DEFAULT );
     }
 
-    if( BuildInetAddr( &sa_in, p_input->psz_source, htons(0) ) == (-1) )
+    if( BuildInetAddr( &sa_in, p_input->p_source, htons(0) ) == (-1) )
     {
         close( p_input->i_handle );
         return( -1 );