config.txt: move blame.* to a separate file
[gitweb.git] / http.c
diff --git a/http.c b/http.c
index 43e75ac583b428b4a350c66f34e66cc325580476..28009ca73ac859160ea8aa34ac8b3ace8692e1e2 100644 (file)
--- a/http.c
+++ b/http.c
@@ -2463,7 +2463,7 @@ int finish_http_object_request(struct http_object_request *freq)
                unlink_or_warn(freq->tmpfile.buf);
                return -1;
        }
-       if (hashcmp(freq->sha1, freq->real_sha1)) {
+       if (!hasheq(freq->sha1, freq->real_sha1)) {
                unlink_or_warn(freq->tmpfile.buf);
                return -1;
        }