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