]> git.ipfire.org Git - thirdparty/git.git/commit
unix-socket: eliminate static unix_stream_socket() helper function
authorJeff Hostetler <jeffhost@microsoft.com>
Mon, 15 Mar 2021 21:08:24 +0000 (21:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Mar 2021 21:32:51 +0000 (14:32 -0700)
commit4f98ce586542a9fc1a2f4b5633dc7edc8922fa8f
tree51b8cf97748d0580171cb6239164428c049b36d2
parent59c7b88198af8af29deffb2eee7b7b2329e9197e
unix-socket: eliminate static unix_stream_socket() helper function

The static helper function `unix_stream_socket()` calls `die()`.  This
is not appropriate for all callers.  Eliminate the wrapper function
and make the callers propagate the error.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
unix-socket.c