mirror of https://github.com/a0rtega/pafish
Changed strcmp for strncmp.
This commit is contained in:
parent
c54d7516fd
commit
9a760b8765
|
@ -264,7 +264,7 @@ int main(int argc, char *argv[])
|
|||
write_log("End");
|
||||
|
||||
fflush(stdin);
|
||||
if (argc != 2 || strcmp(argv[1], "-q") != 0) {
|
||||
if (argc != 2 || strncmp(argv[1], "-q", 2) != 0) {
|
||||
getchar();
|
||||
}
|
||||
return analysis_result;
|
||||
|
|
Loading…
Reference in New Issue