From a406c5870f66d485b2841a8472ab9f97a273275a Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sun, 24 Mar 2013 14:10:59 +0100 Subject: use fuzzy_hash_stream where applicable Thanks: Niels Thykier --- fuzzy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzzy.c b/fuzzy.c index 7b2b608..040038e 100644 --- a/fuzzy.c +++ b/fuzzy.c @@ -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; -- cgit v1.2.3