Commit cae2a55552645ad7568cfc3aec245db6291c7066

Pierre-Olivier Latour 2015-06-26T08:17:56

Fixed build failure if GIT_CURL is not defined

diff --git a/src/openssl_stream.c b/src/openssl_stream.c
index 412dee7..90af4ae 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 bbc2d32..10e1916 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){