mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 19:47:52 +00:00
stransport: pass proxy opts instead of char*
This commit is contained in:
parent
db22a91b86
commit
e0aed4bda3
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user