summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-09-26 16:36:05 -0700
committerBen Straub <bs@github.com>2013-09-26 16:36:05 -0700
commit256961e45d574ace62a7a7d13b697aa05e8a9466 (patch)
tree1927094895655e283e816092834f88fe176d1572
parent0049d4d1d2dd4cb6d65ea81ecdc8611a41f0bace (diff)
downloadlibgit2-256961e45d574ace62a7a7d13b697aa05e8a9466.tar.gz
WHOOPS
-rw-r--r--src/transports/winhttp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transports/winhttp.c b/src/transports/winhttp.c
index e2a4acf61..067d6fcc3 100644
--- a/src/transports/winhttp.c
+++ b/src/transports/winhttp.c
@@ -602,8 +602,7 @@ replay:
if (!git__prefixcmp_icase(location8, prefix_https)) {
/* Upgrade to secure connection; disconnect and start over */
- gitno_connection_data data = { 0 };
- if (gitno_connection_data_from_url(&data, location8, s->service_url) < 0)
+ if (gitno_connection_data_from_url(&t->connection_data, location8, s->service_url) < 0)
return -1;
winhttp_connect(t, location8);
}