Changeset 71:6426d93defd0 in roaraudio for roard/roard.c


Ignore:
Timestamp:
07/12/08 15:07:26 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support to quit the server if all clients are gone and we are in --no-listen mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r68 r71  
    1010 printf("Misc Options:\n\n"); 
    1111 printf( 
    12         " --demon               - bring the server into background after init\n" 
     12        " --demon               - Bring the server into background after init\n" 
     13        " --terminate           - Terminate after last client quited\n" 
    1314       ); 
    1415 
     
    120121  } else if ( strcmp(k, "--demon") == 0 ) { 
    121122   demon = 1; 
     123  } else if ( strcmp(k, "--terminate") == 0 ) { 
     124   g_terminate = 1; 
    122125 
    123126  } else if ( strcmp(k, "-R") == 0 || strcmp(k, "--rate") == 0 ) { 
Note: See TracChangeset for help on using the changeset viewer.