Commit 4cbe9a1be18338b7e223b42e6019c58181204123

Ben Straub 2012-12-10T11:48:20

Add git_cred_acquire_cb payload to winhttp transport

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/transports/winhttp.c b/src/transports/winhttp.c
index fe4b802..1bb5bd9 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);