Remove obsolete comment
Multi-line support is now expected to be handled by the application, for the variables requiring it. The String class can be leveraged for this purpose.
This commit is contained in:
parent
5ca678a9e0
commit
cf9d44c326
|
@ -213,7 +213,6 @@ int config_load(Config * config, char const * filename)
|
||||||
|
|
||||||
if((fp = fopen(filename, "r")) == NULL)
|
if((fp = fopen(filename, "r")) == NULL)
|
||||||
return error_set_code(1, "%s: %s", filename, strerror(errno));
|
return error_set_code(1, "%s: %s", filename, strerror(errno));
|
||||||
/* FIXME unescape backslashes (eg allow multiple lines) */
|
|
||||||
for(line = 0; (c = fgetc(fp)) != EOF; line++)
|
for(line = 0; (c = fgetc(fp)) != EOF; line++)
|
||||||
if(c == CONFIG_COMMENT)
|
if(c == CONFIG_COMMENT)
|
||||||
/* skip the comment */
|
/* skip the comment */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user