mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 06:24:19 +00:00
Fixed build failure if GIT_CURL is not defined
This commit is contained in:
parent
14888070b9
commit
cae2a55552
@ -429,7 +429,7 @@ int git_openssl_stream_new(git_stream **out, const char *host, const char *port)
|
||||
#ifdef GIT_CURL
|
||||
error = git_curl_stream_new(&st->io, host, port);
|
||||
#else
|
||||
error = git_socket_stream_new(&st->io, host, port)
|
||||
error = git_socket_stream_new(&st->io, host, port);
|
||||
#endif
|
||||
|
||||
if (error < 0)
|
||||
|
@ -244,7 +244,7 @@ int git_stransport_stream_new(git_stream **out, const char *host, const char *po
|
||||
#ifdef GIT_CURL
|
||||
error = git_curl_stream_new(&st->io, host, port);
|
||||
#else
|
||||
error = git_socket_stream_new(&st->io, host, port)
|
||||
error = git_socket_stream_new(&st->io, host, port);
|
||||
#endif
|
||||
|
||||
if (error < 0){
|
||||
|
Loading…
Reference in New Issue
Block a user