diff options
author | Ben Straub <bs@github.com> | 2012-12-10 11:11:01 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-12-10 11:11:01 -0800 |
commit | 59bccf33c4de1124f2effd5d4b1a9ef44babefd0 (patch) | |
tree | 82d4af3f511054016162c789655f760c184fe517 /src/transports/smart.c | |
parent | 72629a10e3420b7e20b2e349446b4babbed5eb2c (diff) | |
download | libgit2-59bccf33c4de1124f2effd5d4b1a9ef44babefd0.tar.gz |
Add a payload param to git_cred_acquire_cb
Fixes #1128.
Diffstat (limited to 'src/transports/smart.c')
-rw-r--r-- | src/transports/smart.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transports/smart.c b/src/transports/smart.c index 5300a47c8..8b89fa2e8 100644 --- a/src/transports/smart.c +++ b/src/transports/smart.c @@ -62,6 +62,7 @@ static int git_smart__connect( git_transport *transport, const char *url, git_cred_acquire_cb cred_acquire_cb, + void *cred_acquire_payload, int direction, int flags) { @@ -81,6 +82,7 @@ static int git_smart__connect( t->direction = direction; t->flags = flags; t->cred_acquire_cb = cred_acquire_cb; + t->cred_acquire_payload = cred_acquire_payload; if (GIT_DIRECTION_FETCH == t->direction) service = GIT_SERVICE_UPLOADPACK_LS; |