This commit is contained in:
Kelvin Sherlock 2019-03-07 23:56:15 -05:00
parent 818b60e734
commit 1a27ca5435

View File

@ -115,6 +115,11 @@ static char *rtrim(char *cp) {
return cp;
}
static char *ltrim(char *cp) {
while (isspace(*cp)) ++cp;
return cp;
}
/* 0 - no field, 1 - ok, -1 - warning */
static int parse_field(const char *cp, struct field *f) {
const char *start;