Remove leading and trailing spaces when reading C config files.