Changed strcmp for strncmp.

This commit is contained in:
Roberto Abdelkader Martínez Pérez 2014-05-02 13:31:34 +02:00
parent c54d7516fd
commit 9a760b8765
1 changed files with 1 additions and 1 deletions

View File

@ -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;