diff options
Diffstat (limited to 'src/streams/socket.c')
| -rw-r--r-- | src/streams/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/streams/socket.c b/src/streams/socket.c index 21f7fea06..732b45940 100644 --- a/src/streams/socket.c +++ b/src/streams/socket.c @@ -224,7 +224,7 @@ int git_socket_stream_new( assert(out && host && port); - if ((error = git_stream_registry_lookup(&custom, 0)) == 0) + if ((error = git_stream_registry_lookup(&custom, GIT_STREAM_STANDARD)) == 0) init = custom.init; else if (error == GIT_ENOTFOUND) init = default_socket_stream_new; |
