fix return values

This commit is contained in:
Liam Waldron 2023-06-13 11:16:39 -04:00
parent 6091249959
commit 2c5edb3b12

View File

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