}
}
- while( i --, isspace(line[i]) )
- line[i] = 0;
+ // Trim trailing whitespace
+ while( i -- && isspace(line[i]) )
+ line[i] = '\0';
}
-
- if( regexec(®exp_empty, line, 1, matches, 0) == 0 )
+ if( line[0] == '\0' ) // regexec(®exp_empty, line, 1, matches, 0) == 0 )
continue ;
if( RunRegex(®exp_option, line, 3, matches, "Parsing configuration file") )