From cae2a55552645ad7568cfc3aec245db6291c7066 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Latour Date: Fri, 26 Jun 2015 08:17:56 -0700 Subject: [PATCH] Fixed build failure if GIT_CURL is not defined --- src/openssl_stream.c | 2 +- src/stransport_stream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openssl_stream.c b/src/openssl_stream.c index 412dee739..90af4ae6e 100644 --- a/src/openssl_stream.c +++ b/src/openssl_stream.c @@ -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) diff --git a/src/stransport_stream.c b/src/stransport_stream.c index bbc2d32d6..10e19166c 100644 --- a/src/stransport_stream.c +++ b/src/stransport_stream.c @@ -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){