diff options
author | Michael Lukashov <michael.lukashov@gmail.com> | 2010-02-17 20:56:02 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-17 15:06:45 -0800 |
commit | 72a534dab016813eec71935323b197650a2c0c9d (patch) | |
tree | faa33354eabf3e2fe5c615ca8e99e8dc42f6e3f9 /csum-file.h | |
parent | Git 1.7.0 (diff) | |
download | tgif-72a534dab016813eec71935323b197650a2c0c9d.tar.xz |
connect.c: move duplicated code to a new function 'get_host_and_port'
The following functions:
git_tcp_connect_sock (IPV6 version)
git_tcp_connect_sock (no IPV6 version),
git_proxy_connect
have common block of code. Move it to a new function 'get_host_and_port'
Signed-off-by: Michael Lukashov <michael.lukashov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'csum-file.h')
0 files changed, 0 insertions, 0 deletions