Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cae2a55

Browse files
committed
Fixed build failure if GIT_CURL is not defined
1 parent 1488807 commit cae2a55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/openssl_stream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ int git_openssl_stream_new(git_stream **out, const char *host, const char *port)
429429
#ifdef GIT_CURL
430430
error = git_curl_stream_new(&st->io, host, port);
431431
#else
432-
error = git_socket_stream_new(&st->io, host, port)
432+
error = git_socket_stream_new(&st->io, host, port);
433433
#endif
434434

435435
if (error < 0)

src/stransport_stream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ int git_stransport_stream_new(git_stream **out, const char *host, const char *po
244244
#ifdef GIT_CURL
245245
error = git_curl_stream_new(&st->io, host, port);
246246
#else
247-
error = git_socket_stream_new(&st->io, host, port)
247+
error = git_socket_stream_new(&st->io, host, port);
248248
#endif
249249

250250
if (error < 0){

0 commit comments

Comments
 (0)