X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fconfdata.c;h=e606f06fc9e557dc0401b44660bd1dae08b313c3;hb=f73be7380946ff2e6bb2c0c05e1fdba524fad773;hp=5e585c4626e1e3399502d2fae0a98e732ee58733;hpb=195268cae3bb2f462d82dc0178dbca07f0cff706;p=carl9170fw.git diff --git a/config/confdata.c b/config/confdata.c index 5e585c4..e606f06 100644 --- a/config/confdata.c +++ b/config/confdata.c @@ -375,7 +375,9 @@ load: continue; } else { if (line[0] != '\r' && line[0] != '\n') - conf_warning("unexpected data"); + conf_warning("unexpected data: %.*s", + (int)strcspn(line, "\r\n"), line); + continue; } setsym: