]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http-walker.c
convert "hashcmp() == 0" to hasheq()
[thirdparty/git.git] / http-walker.c
index 7cdfb2f24c76d2f09b39ae2fa97685ecec2d1630..3a8edc7f2fd47718f0a5d257d005e78e08d7d21c 100644 (file)
@@ -483,7 +483,7 @@ static int fetch_object(struct walker *walker, unsigned char *sha1)
 
        list_for_each(pos, head) {
                obj_req = list_entry(pos, struct object_request, node);
-               if (!hashcmp(obj_req->oid.hash, sha1))
+               if (hasheq(obj_req->oid.hash, sha1))
                        break;
        }
        if (obj_req == NULL)