Commit d5e52ada authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in configuration parser.

This caused empty lines to cause parse failures.
parent 724b403a
...@@ -557,7 +557,7 @@ parse_config(gnc_t gnc, void *closure) ...@@ -557,7 +557,7 @@ parse_config(gnc_t gnc, void *closure)
char *token; char *token;
c = gnc(closure); c = gnc(closure);
if(c < 2) if(c < -1)
return -1; return -1;
while(c >= 0) { while(c >= 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment