Changeset 450:67dff1f38bcb in roaraudio


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

added ROAR_DEFAULT_SOCKGRP

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/roaraudio.h

    r344 r450  
    5353#define ROAR_DEFAULT_SOCK_GLOBAL "/tmp/roar" 
    5454#define ROAR_DEFAULT_SOCK_USER   ".roar" 
     55 
     56#define ROAR_DEFAULT_SOCKGRP     "audio" 
    5557 
    5658#define ROAR_LIBS                "-lroar" 
  • roard/roard.c

    r447 r450  
    4949        " -b  --bind            - IP/Hostname to bind to\n" 
    5050        " -s  --sock            - Filename for UNIX Domain Socket\n" 
    51         " -G  GROUP             - Sets the group for the UNIX Domain Socket, (default: audio)\n" 
     51        " -G  GROUP             - Sets the group for the UNIX Domain Socket, (default: %s)\n" 
    5252        "                         You need the permittions to change the GID\n" 
    5353        " -U  USER              - Sets the user for the UNIX Domain Socket, (default: do not set)\n" 
     
    5555        " --no-listen           - Do not listen for new clients (only usefull for relaing)\n" 
    5656        " --client-fh           - Comunicate with a client over this handle\n" 
    57         "                         (only usefull for relaing)\n" 
     57        "                         (only usefull for relaing)\n", 
     58        ROAR_DEFAULT_SOCKGRP 
    5859       ); 
    5960// printf("\n Options:\n\n"); 
     
    8182 char * s_opt     = NULL; 
    8283 int    s_prim    = 0; 
    83  char * sock_grp  = "audio"; 
     84 char * sock_grp  = ROAR_DEFAULT_SOCKGRP; 
    8485 char * sock_user = NULL; 
    8586 char * chrootdir = NULL; 
Note: See TracChangeset for help on using the changeset viewer.