fix return values
This commit is contained in:
parent
6091249959
commit
2c5edb3b12
@ -89,10 +89,10 @@ ecrypt_check(char *firstkey, char *secondkey)
|
||||
}
|
||||
if (flg) {
|
||||
printf("no match\n");
|
||||
return 1;
|
||||
exit(1);
|
||||
} else {
|
||||
printf("match\n");
|
||||
return 0;
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user