bundle transport: fix an alloc_ref() call
[gitweb.git] / send-pack.c
index f74e66a8babd427ecd715c901d3d1680f1c5f13a..4533d1bf8ebde7c78a1c7c550ce8feec1870fde0 100644 (file)
@@ -420,7 +420,7 @@ int main(int argc, char **argv)
 
        if (remote_name) {
                remote = remote_get(remote_name);
-               if (!remote_has_uri(remote, dest)) {
+               if (!remote_has_url(remote, dest)) {
                        die("Destination %s is not a uri for %s",
                            dest, remote_name);
                }