mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ovsdb-data: Allow arbitrary white space as string data delimiters.
This commit is contained in:
@@ -813,7 +813,10 @@ ovsdb_datum_to_json(const struct ovsdb_datum *datum,
|
||||
static const char *
|
||||
skip_spaces(const char *p)
|
||||
{
|
||||
return p + strspn(p, " ");
|
||||
while (isspace((unsigned char) *p)) {
|
||||
p++;
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
static char *
|
||||
|
Reference in New Issue
Block a user