summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-12-10 11:48:20 -0800
committerBen Straub <bs@github.com>2012-12-10 11:48:20 -0800
commit4cbe9a1be18338b7e223b42e6019c58181204123 (patch)
tree2bc5cf2ef765fb8fca121879cccda30da5b08c6d /src
parenta72a8f34d3343c739579df912f2c46ebffc1143f (diff)
downloadlibgit2-4cbe9a1be18338b7e223b42e6019c58181204123.tar.gz
Add git_cred_acquire_cb payload to winhttp transport
Diffstat (limited to 'src')
-rw-r--r--src/transports/winhttp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transports/winhttp.c b/src/transports/winhttp.c
index fe4b8025f..1bb5bd98f 100644
--- a/src/transports/winhttp.c
+++ b/src/transports/winhttp.c
@@ -447,7 +447,7 @@ replay:
if (allowed_types &&
(!t->cred || 0 == (t->cred->credtype & allowed_types))) {
- if (t->owner->cred_acquire_cb(&t->cred, t->owner->url, allowed_types) < 0)
+ if (t->owner->cred_acquire_cb(&t->cred, t->owner->url, allowed_types, t->owner->cred_acquire_payload) < 0)
return -1;
assert(t->cred);