Skip to content

Commit

Permalink
odp-util: Reuse standard delimiters.
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Stringer <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
joestringer committed Jan 7, 2015
1 parent bc57376 commit 70fbe37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/odp-util.c
Original file line number Diff line number Diff line change
Expand Up @@ -2752,7 +2752,7 @@ parse_odp_key_mask_attr(const char *s, const struct simap *port_names,
for (;;) {
int retval;

s += strspn(s, ", \t\r\n");
s += strspn(s, delimiters);
if (!*s) {
return -EINVAL;
} else if (*s == ')') {
Expand Down

0 comments on commit 70fbe37

Please sign in to comment.