mirror of
https://github.com/digarok/gsplus.git
synced 2024-09-28 22:55:08 +00:00
wip
This commit is contained in:
parent
818b60e734
commit
1a27ca5435
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user