Changeset 5201:4427d3c7382f in roaraudio for libroar/config.c


Ignore:
Timestamp:
10/23/11 14:50:38 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed endless recursion in config loader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/config.c

    r5183 r5201  
    7575 
    7676 if ( !inited ) { 
     77  inited++; // we do this early so we can use ROAR_{DBG,INFO,WARN,ERR}() in roar_libroar_config_parse(). 
     78 
    7779  next = getenv("ROAR_OPTIONS"); 
    7880 
     
    8082   roar_libroar_config_parse(next, " "); 
    8183  } 
    82  
    83   inited++; 
    8484 } 
    8585 
Note: See TracChangeset for help on using the changeset viewer.