summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-04-21 11:01:09 -0400
committerEdward Thomson <ethomson@github.com>2016-04-21 11:01:09 -0400
commite0aed4bda37816650efad44af352c6d7f5ec0501 (patch)
tree33e95d92127e1fedb64f4d06ea00868020f85b48
parentdb22a91b86dbb230dd559f4864f4b846a895632d (diff)
downloadlibgit2-e0aed4bda37816650efad44af352c6d7f5ec0501.tar.gz
stransport: pass proxy opts instead of char*
-rw-r--r--src/stransport_stream.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stransport_stream.c b/src/stransport_stream.c
index 33b6c5c38..8d28b3ceb 100644
--- a/src/stransport_stream.c
+++ b/src/stransport_stream.c
@@ -116,11 +116,13 @@ int stransport_certificate(git_cert **out, git_stream *stream)
return 0;
}
-int stransport_set_proxy(git_stream *stream, const char *proxy)
+int stransport_set_proxy(
+ git_stream *stream,
+ const git_proxy_options *proxy_opts)
{
stransport_stream *st = (stransport_stream *) stream;
- return git_stream_set_proxy(st->io, proxy);
+ return git_stream_set_proxy(st->io, proxy_opts);
}
/*