Changeset 3375:9187507cb0dd in roaraudio for libroar/config.c


Ignore:
Timestamp:
02/10/10 16:21:28 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support for x11-server in options string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/config.c

    r3219 r3375  
    5353  if ( home != NULL ) { 
    5454   snprintf(authfile, 1023, "%s/.roarauth", home); 
    55    authfile[1023]  = 0; 
    56    config.authfile = authfile; 
     55   authfile[1023]     = 0; 
     56   config.authfile    = authfile; 
    5757  } 
    5858 
     
    245245   strncpy(config->authfile, v, 1023); 
    246246   config->authfile[1023] = 0; 
     247  } else if ( !strcmp(k, "x11-display") ) { 
     248   config->x11.display = v; 
    247249  } else { 
    248250   ROAR_WARN("roar_libroar_config_parse(*): Unknown option: %s", k); 
Note: See TracChangeset for help on using the changeset viewer.