Merge "Use the getopt function in compliance with the standard."
This commit is contained in:
commit
87a56eb6cc
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
c = getopt(argc, argv, "p");
|
||||
|
||||
if (c == EOF) {
|
||||
if (c == -1) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue