]> git.proxmox.com Git - libgit2.git/commitdiff
WHOOPS
authorBen Straub <bs@github.com>
Thu, 26 Sep 2013 23:36:05 +0000 (16:36 -0700)
committerBen Straub <bs@github.com>
Thu, 26 Sep 2013 23:36:05 +0000 (16:36 -0700)
src/transports/winhttp.c

index e2a4acf61636a194965a8d56b6674787d2b88761..067d6fcc3f360b0b3c8b24f55e5801062de717e8 100644 (file)
@@ -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);
                        }