diff options
author | Vitezslav Cizek <vcizek@suse.cz> | 2014-03-26 23:01:22 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2014-03-26 23:01:22 +0200 |
commit | 852895847f41f9b5f268fc84f892c94497f4ffbe (patch) | |
tree | dfcf80e60dce66fa6b10568910473f9f53c03aab | |
parent | b0902369e789c9aadf584799889a34637688d601 (diff) | |
download | tar-852895847f41f9b5f268fc84f892c94497f4ffbe.tar.gz |
fix an eternal loop in handle_option
* src/names.c (handle_option): increment loop counter
-rw-r--r-- | src/names.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/names.c b/src/names.c index 9fc0ad58..594e7fdd 100644 --- a/src/names.c +++ b/src/names.c @@ -439,7 +439,7 @@ handle_option (const char *str) int i; while (*str && isspace (*str)) - ; + ++str; if (*str != '-') return 1; |