diff options
author | Ben Straub <bs@github.com> | 2013-09-26 16:36:05 -0700 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2013-09-26 16:36:05 -0700 |
commit | 256961e45d574ace62a7a7d13b697aa05e8a9466 (patch) | |
tree | 1927094895655e283e816092834f88fe176d1572 | |
parent | 0049d4d1d2dd4cb6d65ea81ecdc8611a41f0bace (diff) | |
download | libgit2-256961e45d574ace62a7a7d13b697aa05e8a9466.tar.gz |
WHOOPS
-rw-r--r-- | src/transports/winhttp.c | 3 |
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); } |