summaryrefslogtreecommitdiff
path: root/src/transports/local.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-12-10 11:11:01 -0800
committerBen Straub <bs@github.com>2012-12-10 11:11:01 -0800
commit59bccf33c4de1124f2effd5d4b1a9ef44babefd0 (patch)
tree82d4af3f511054016162c789655f760c184fe517 /src/transports/local.c
parent72629a10e3420b7e20b2e349446b4babbed5eb2c (diff)
downloadlibgit2-59bccf33c4de1124f2effd5d4b1a9ef44babefd0.tar.gz
Add a payload param to git_cred_acquire_cb
Fixes #1128.
Diffstat (limited to 'src/transports/local.c')
-rw-r--r--src/transports/local.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transports/local.c b/src/transports/local.c
index 768daf3a8..53b24947c 100644
--- a/src/transports/local.c
+++ b/src/transports/local.c
@@ -143,6 +143,7 @@ static int local_connect(
git_transport *transport,
const char *url,
git_cred_acquire_cb cred_acquire_cb,
+ void *cred_acquire_payload,
int direction, int flags)
{
git_repository *repo;
@@ -152,6 +153,7 @@ static int local_connect(
git_buf buf = GIT_BUF_INIT;
GIT_UNUSED(cred_acquire_cb);
+ GIT_UNUSED(cred_acquire_payload);
t->url = git__strdup(url);
GITERR_CHECK_ALLOC(t->url);