20 lines
430 B
Diff
20 lines
430 B
Diff
|
commit c13948fd0aef759e95038bd28416077b12f7dd29
|
||
|
Author: Vitezslav Cizek <vcizek@suse.cz>
|
||
|
Date: Wed Mar 26 18:34:53 2014 +0100
|
||
|
|
||
|
fix an eternal loop in handle_option
|
||
|
|
||
|
diff --git a/src/names.c b/src/names.c
|
||
|
index 9fc0ad5..963ec07 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;
|
||
|
|