diff options
-rw-r--r-- | src/join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/join.c b/src/join.c index 14a3b7a30..59d240f62 100644 --- a/src/join.c +++ b/src/join.c @@ -661,7 +661,7 @@ add_field_list (const char *c_str) int file_index, field_index; char *spec_item = p; - p = strchr (p, ','); + p = strpbrk (p, ", \t"); if (p) *p++ = 0; invalid = decode_field_spec (spec_item, &file_index, &field_index); |