Commit cae2a555 by Pierre-Olivier Latour

Fixed build failure if GIT_CURL is not defined

parent 14888070
......@@ -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){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment