diff options
-rw-r--r-- | c_implementation/src/ak_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c_implementation/src/ak_fs.c b/c_implementation/src/ak_fs.c index 3c620fc..4d9d214 100644 --- a/c_implementation/src/ak_fs.c +++ b/c_implementation/src/ak_fs.c @@ -307,7 +307,7 @@ int ak_fs_cat_file_from_root_hash(sha512sum* rh) fclose(fd); char h1[129] = {0}; char h2[129] = {0}; - if ( buffer[128] != '\n' && buffer[257] != '\n' ) + if ( buffer[128] != '\n' || buffer[257] != '\n' ) { ak_log_error(__func__, "Unknown format"); return 2; |