summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-09-26 16:25:05 -0700
committerBen Straub <bs@github.com>2013-09-26 16:25:05 -0700
commit1b02baf40be4913a4f3044987eea85c72ce4b0a7 (patch)
tree6c266f9d9d1528d1240f695329e8564e88a9f746
parentea59f6597707107940d2a615b5fc4621d62149d3 (diff)
downloadlibgit2-1b02baf40be4913a4f3044987eea85c72ce4b0a7.tar.gz
Adjust to new utility signature
-rw-r--r--src/transports/http.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/transports/http.c b/src/transports/http.c
index 81157889e..ace0d97d0 100644
--- a/src/transports/http.c
+++ b/src/transports/http.c
@@ -295,8 +295,7 @@ static int on_headers_complete(http_parser *parser)
return t->parse_error = PARSE_ERROR_GENERIC;
}
- if (gitno_connection_data_from_url(&t->connection_data, t->location,
- s->service_url, t->connection_data.host, t->connection_data.use_ssl) < 0)
+ if (gitno_connection_data_from_url(&t->connection_data, t->location, s->service_url) < 0)
return t->parse_error = PARSE_ERROR_GENERIC;
/* Set the redirect URL on the stream. This is a transfer of
@@ -814,7 +813,7 @@ static int http_action(
return -1;
if ((!t->connection_data.host || !t->connection_data.port || !t->connection_data.path) &&
- (ret = gitno_connection_data_from_url(&t->connection_data, url, NULL, NULL, false)) < 0)
+ (ret = gitno_connection_data_from_url(&t->connection_data, url, NULL)) < 0)
return ret;
if (http_connect(t) < 0)