• Thomas B. Rücker's avatar
    This patch closes ticket #1886. · 5a269462
    Thomas B. Rücker authored
    I've rethought the approach and found a much cleaner way. 
    We now split handling of command line arguments into two parts.
    Only the critical part of getting the config file is done first (and -v as it prevents startup).
    The rest (currently only -b) is deferred.
    
    This achieves the important bit why #1886 was created. 
    It allows us to log error messages to stderr even if the -b argument is passed.
    This is mainly for the case where the logfile or TCP port can't be opened.
    
    svn path=/icecast/trunk/icecast/; revision=18945
    5a269462
main.c 13.5 KB