Changeset 5754:b23d79c13370 in roaraudio for libroar/config.c
- Timestamp:
- 11/16/12 16:49:56 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/config.c
r5747 r5754 76 76 struct roar_libroar_config * config = roar_libroar_get_config_ptr(); 77 77 static int inited = 0; 78 char * next; 78 const char * next; 79 char * buf; 79 80 80 81 if ( !inited ) { 81 82 inited++; // we do this early so we can use ROAR_{DBG,INFO,WARN,ERR}() in roar_libroar_config_parse(). 82 83 83 next = getenv("ROAR_OPTIONS");84 next = roar_env_get("ROAR_OPTIONS"); 84 85 85 86 if ( next != NULL ) { 86 roar_libroar_config_parse(next, " "); 87 if ( (buf = roar_mm_strdup(next)) != NULL ) { 88 roar_libroar_config_parse(buf, " "); 89 roar_mm_free(buf); 90 } 87 91 } 88 92 }
Note: See TracChangeset
for help on using the changeset viewer.