Skip to content

Commit e0aed4b

Browse files
author
Edward Thomson
committed
stransport: pass proxy opts instead of char*
1 parent db22a91 commit e0aed4b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/stransport_stream.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,13 @@ int stransport_certificate(git_cert **out, git_stream *stream)
116116
return 0;
117117
}
118118

119-
int stransport_set_proxy(git_stream *stream, const char *proxy)
119+
int stransport_set_proxy(
120+
git_stream *stream,
121+
const git_proxy_options *proxy_opts)
120122
{
121123
stransport_stream *st = (stransport_stream *) stream;
122124

123-
return git_stream_set_proxy(st->io, proxy);
125+
return git_stream_set_proxy(st->io, proxy_opts);
124126
}
125127

126128
/*

0 commit comments

Comments
 (0)