fix an eternal loop in handle_option

* src/names.c (handle_option): increment loop counter
This commit is contained in:
Vitezslav Cizek
2014-03-26 23:01:22 +02:00
committed by Sergey Poznyakoff
parent b0902369e7
commit 852895847f

View File

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