summaryrefslogtreecommitdiff
path: root/test-ctype.c
diff options
context:
space:
mode:
authorLibravatar Michael Lukashov <michael.lukashov@gmail.com>2010-02-17 20:56:02 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-02-17 15:06:45 -0800
commit72a534dab016813eec71935323b197650a2c0c9d (patch)
treefaa33354eabf3e2fe5c615ca8e99e8dc42f6e3f9 /test-ctype.c
parentGit 1.7.0 (diff)
downloadtgif-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 'test-ctype.c')
0 files changed, 0 insertions, 0 deletions