Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kelley <phkelley@hotmail.com>2012-11-28 20:42:37 +0400
committerPhilip Kelley <phkelley@hotmail.com>2012-11-28 20:42:37 +0400
commit613d5eb9391d6cc33c91f4dc9cdb5ede1885dc72 (patch)
treebd94a2a5ea154a3849114575368b7531f0d45024 /src/transport.c
parent693021262ba0eeac2923bbce1b2262717019c807 (diff)
Push! By schu, phkelley, and congyiwu, et al
Diffstat (limited to 'src/transport.c')
-rw-r--r--src/transport.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transport.c b/src/transport.c
index 8c242af6d..9c88d983e 100644
--- a/src/transport.c
+++ b/src/transport.c
@@ -76,15 +76,16 @@ static int transport_find_fn(const char *url, git_transport_cb *callback, void *
* Public API *
**************/
-int git_transport_dummy(git_transport **transport, void *param)
+int git_transport_dummy(git_transport **transport, git_remote *owner, void *param)
{
GIT_UNUSED(transport);
+ GIT_UNUSED(owner);
GIT_UNUSED(param);
giterr_set(GITERR_NET, "This transport isn't implemented. Sorry");
return -1;
}
-int git_transport_new(git_transport **out, const char *url)
+int git_transport_new(git_transport **out, git_remote *owner, const char *url)
{
git_transport_cb fn;
git_transport *transport;
@@ -96,7 +97,7 @@ int git_transport_new(git_transport **out, const char *url)
return -1;
}
- error = fn(&transport, param);
+ error = fn(&transport, owner, param);
if (error < 0)
return error;