Changeset e3fa003bfa151ec22840ae6c2047e7c468761092

Show
Ignore:
Timestamp:
29/05/08 17:53:06 (6 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1212076386 +0300
git-parent:

[7b3fb502677610e9cee80e6a6413347b5028a29d]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1212076386 +0300
Message:

Simplification

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/libvlc-common.c

    r358c28c re3fa003  
    11121112        char *psz_interface = config_GetPsz( p_libvlc, "intf" ); 
    11131113        if( !psz_interface || !*psz_interface ) /* "intf" has not been set */ 
    1114             msg_Info( p_libvlc, _("Running vlc with the default interface. Use 'cvlc' to use vlc without interface.") ); 
     1114        { 
     1115#ifndef WIN32 
     1116            if( b_daemon ) 
     1117                 /* Daemon mode hack. 
     1118                  * We prefer the dummy interface if none is specified. */ 
     1119                psz_module = "dummy"; 
     1120            else 
     1121#endif 
     1122                msg_Info( p_libvlc, _("Running vlc with the default interface. Use 'cvlc' to use vlc without interface.") ); 
     1123        } 
    11151124        free( psz_interface ); 
    11161125    } 
    1117  
    1118 #ifndef WIN32 
    1119     if( b_daemon && b_block && !psz_module ) 
    1120     { 
    1121         /* Daemon mode hack. 
    1122          * We prefer the dummy interface if none is specified. */ 
    1123         char *psz_interface = config_GetPsz( p_libvlc, "intf" ); 
    1124         if( !psz_interface || !*psz_interface ) psz_module = "dummy"; 
    1125         free( psz_interface ); 
    1126     } 
    1127 #endif 
    11281126 
    11291127    /* Try to create the interface */