Add git_cred_acquire_cb payload to winhttp transport

This commit is contained in:
Ben Straub 2012-12-10 11:48:20 -08:00
parent a72a8f34d3
commit 4cbe9a1be1

View File

@ -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);