summaryrefslogtreecommitdiff
path: root/fuzzy.c
diff options
context:
space:
mode:
Diffstat (limited to 'fuzzy.c')
-rw-r--r--fuzzy.c2
1 files changed, 1 insertions, 1 deletions
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;