Improve error message for clarity.
This commit is contained in:
parent
691d6714fc
commit
86cc7d9a21
@ -863,7 +863,7 @@ bool parse_file(const char *f, bool use_nagbar) {
|
|||||||
die("Could not read configuration file\n");
|
die("Could not read configuration file\n");
|
||||||
}
|
}
|
||||||
if (buffer[strlen(buffer) - 1] != '\n') {
|
if (buffer[strlen(buffer) - 1] != '\n') {
|
||||||
ELOG("Use continuation with too many lines\n");
|
ELOG("Your line continuation is too long, it exceeds %zd bytes\n", sizeof(buffer));
|
||||||
}
|
}
|
||||||
continuation = strstr(buffer, "\\\n");
|
continuation = strstr(buffer, "\\\n");
|
||||||
if (continuation) {
|
if (continuation) {
|
||||||
|
Loading…
Reference in New Issue
Block a user