]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http-push.c
object: rename function 'typename' to 'type_name'
[thirdparty/git.git] / http-push.c
index 14435ab65d1bbe3fc73be6a6d774b6ab6ffc8360..8814aa12e9562f49616ccce90b29595bbdacf1f4 100644 (file)
@@ -362,7 +362,7 @@ static void start_put(struct transfer_request *request)
        git_zstream stream;
 
        unpacked = read_sha1_file(request->obj->oid.hash, &type, &len);
-       hdrlen = xsnprintf(hdr, sizeof(hdr), "%s %lu", typename(type), len) + 1;
+       hdrlen = xsnprintf(hdr, sizeof(hdr), "%s %lu", type_name(type), len) + 1;
 
        /* Set it up */
        git_deflate_init(&stream, zlib_compression_level);