vendor/libgit2/src/stream.h in rugged-0.25.0b2 vs vendor/libgit2/src/stream.h in rugged-0.25.0b3

- old
+ new

@@ -33,17 +33,17 @@ GIT_INLINE(int) git_stream_supports_proxy(git_stream *st) { return st->proxy_support; } -GIT_INLINE(int) git_stream_set_proxy(git_stream *st, const char *proxy_url) +GIT_INLINE(int) git_stream_set_proxy(git_stream *st, const git_proxy_options *proxy_opts) { if (!st->proxy_support) { giterr_set(GITERR_INVALID, "proxy not supported on this stream"); return -1; } - return st->set_proxy(st, proxy_url); + return st->set_proxy(st, proxy_opts); } GIT_INLINE(ssize_t) git_stream_read(git_stream *st, void *data, size_t len) { return st->read(st, data, len);