summaryrefslogtreecommitdiff
path: root/src/stransport_stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stransport_stream.c')
-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);
}
/*