diff options
author | Helmut Grohne <helmut@subdivi.de> | 2013-03-24 14:10:59 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2013-03-24 14:10:59 +0100 |
commit | a406c5870f66d485b2841a8472ab9f97a273275a (patch) | |
tree | 1e3fc28e9cdb68d5ba5a2965ae77a1a97289ab94 | |
parent | 4b9ae0055299bb38b861fc3c6b65cbdfffa6d4c9 (diff) | |
download | ssdeep-a406c5870f66d485b2841a8472ab9f97a273275a.tar.gz |
use fuzzy_hash_stream where applicable
Thanks: Niels Thykier
-rw-r--r-- | fuzzy.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -345,7 +345,7 @@ int fuzzy_hash_filename(const char *filename, /*@out@*/ char *result) { FILE *handle = fopen(filename, "rb"); if(NULL == handle) return -1; - status = fuzzy_hash_file(handle, result); + status = fuzzy_hash_stream(handle, result); /* We cannot do anything about an fclose failure. */ (void)fclose(handle); return status; |