Kaynağa Gözat

fix an eternal loop in handle_option

* src/names.c (handle_option): increment loop counter
Vitezslav Cizek 11 yıl önce
ebeveyn
işleme
852895847f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/names.c

+ 1 - 1
src/names.c

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