Changeset 71:6426d93defd0 in roaraudio for roard/loop.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/loop.c

    r68 r71  
    3131 
    3232  ROAR_DBG("main_loop(*): check for new data..."); 
    33   clients_check_all(); 
     33  if ( clients_check_all() == 0 && g_terminate && g_listen_socket == -1 ) 
     34   alive = 0; 
    3435 
    3536  ROAR_DBG("main_loop(*): mixing clients..."); 
Note: See TracChangeset for help on using the changeset viewer.