summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Olivier Latour <pol@mac.com>2015-06-26 08:17:56 -0700
committerPierre-Olivier Latour <pol@mac.com>2015-06-26 08:17:56 -0700
commitcae2a55552645ad7568cfc3aec245db6291c7066 (patch)
tree2524517b8639698a3857cea4f9f80154fa03837a
parent14888070b941824b7f6369c60d7600594d215577 (diff)
downloadlibgit2-cae2a55552645ad7568cfc3aec245db6291c7066.tar.gz
Fixed build failure if GIT_CURL is not defined
-rw-r--r--src/openssl_stream.c2
-rw-r--r--src/stransport_stream.c2
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){