Browse Source

fix an eternal loop in handle_option

* src/names.c (handle_option): increment loop counter
Vitezslav Cizek 11 years ago
parent
commit
852895847f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/names.c

+ 1 - 1
src/names.c

@@ -439,7 +439,7 @@ handle_option (const char *str)
   int i;
   int i;
 
 
   while (*str && isspace (*str))
   while (*str && isspace (*str))
-    ;
+    ++str;
   if (*str != '-')
   if (*str != '-')
     return 1;
     return 1;