Changeset 2887:bbfcd79d3c2b in roaraudio for libroar
- Timestamp:
- 10/10/09 02:07:06 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/config.c
r2886 r2887 86 86 next++; 87 87 } 88 89 // strip leading spaces: 90 while ( *k == ' ' ) k++; 91 92 // strip tailing new lions: 93 v = strtok(k, "\r\n"); 94 if ( v != NULL ) { 95 if ( *v == '\r' || *v == '\n' ) 96 *v = 0; 97 } 98 99 // comments 100 if ( *k == '#' ) 101 continue; 102 103 // empty options: 104 if ( *k == 0 ) 105 continue; 88 106 89 107 if ( (v = strstr(k, ":")) != NULL ) {
Note: See TracChangeset
for help on using the changeset viewer.