Changeset 548:bf2791966e7b in roaraudio


Ignore:
Timestamp:
08/18/08 18:07:02 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

--no-listen now impleys --terminate

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libroar/socket.c

    r536 r548  
    454454  snprintf(fhstr, 7, "%i", socks[1]); 
    455455 
    456   execlp("roard", "roard", "--terminate", "--no-listen", "--client-fh", fhstr, NULL); 
     456  execlp("roard", "roard", "--no-listen", "--client-fh", fhstr, NULL); 
    457457 
    458458  // we are still alive? 
  • roard/roard.c

    r523 r548  
    6464        " -U  USER              - Sets the user for the UNIX Domain Socket, (default: do not set)\n" 
    6565        "                         You need the permittions to change the UID (normaly only root has)\n" 
    66         " --no-listen           - Do not listen for new clients (only usefull for relaing)\n" 
     66        " --no-listen           - Do not listen for new clients\n" 
     67        "                         (only usefull for relaing, impleys --terminate)\n" 
    6768        " --client-fh           - Comunicate with a client over this handle\n" 
    6869        "                         (only usefull for relaing)\n" 
     
    270271 
    271272  } else if ( strcmp(k, "--no-listen") == 0 ) { 
    272    *server = 0; 
     273   *server     = 0; 
     274   g_terminate = 1; 
    273275  } else if ( strcmp(k, "--client-fh") == 0 ) { 
    274276   if ( clients_set_fh(clients_new(), atoi(argv[++i])) == -1 ) { 
Note: See TracChangeset for help on using the changeset viewer.