diff options
author | Keuin <[email protected]> | 2022-05-28 01:03:20 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-05-28 01:03:20 +0800 |
commit | 15305a1351d9f7eb36b444ebd693f78a38600af0 (patch) | |
tree | 2d383c7a3cc8d684dd0f38eb3c518910e9e0de46 | |
parent | 7cd2ac6e831c259283c59cbdfec570dccff082a5 (diff) |
Bugfix: decrypted file won't be saved.
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -241,7 +241,7 @@ int main(int argc, char *argv[]) { return 0; } - const char *plaintext_save_path = (argc == 3) ? (argv[2]) : NULL; + const char *plaintext_save_path = (argc >= 3) ? (argv[2]) : NULL; const char *ciphertext_file_path = argv[1]; /* open file */ |