sk1
This commit is contained in:
parent
8c955bcf87
commit
a7c1ad7692
@ -43,7 +43,7 @@ int main(int argc, char* argv[]) {
|
|||||||
result = decompress_1(input_file, output_file);
|
result = decompress_1(input_file, output_file);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
fprintf(stderr, "Chyba: Dekompresia zlyhala.\n");
|
fprintf(stderr, "Chyba: Dekompresia zlyhala.\n");
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
} else if (strcmp(argv[1], "-c2") == 0) {
|
} else if (strcmp(argv[1], "-c2") == 0) {
|
||||||
result = compress_2(input_file, output_file);
|
result = compress_2(input_file, output_file);
|
||||||
@ -55,7 +55,7 @@ int main(int argc, char* argv[]) {
|
|||||||
result = decompress_2(input_file, output_file);
|
result = decompress_2(input_file, output_file);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
fprintf(stderr, "Chyba: Dekompresia zlyhala.\n");
|
fprintf(stderr, "Chyba: Dekompresia zlyhala.\n");
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "Chyba: Neznámy argument. Použite -h pre zobrazenie pomoci.\n");
|
fprintf(stderr, "Chyba: Neznámy argument. Použite -h pre zobrazenie pomoci.\n");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user