diff options
author | Rick Altherr <kc8apf@kc8apf.net> | 2018-11-08 09:31:28 -0800 |
---|---|---|
committer | Rick Altherr <kc8apf@kc8apf.net> | 2018-11-09 11:41:29 -0800 |
commit | 58b60fccc12737a436ec6780dc1598467c8f5d2f (patch) | |
tree | ca737a4c8892e4284f5587944847723ca836706a /src/commit.c | |
parent | fa7aba70d8c1bc68cd2572d808c66059df6da989 (diff) | |
download | libgit2-58b60fccc12737a436ec6780dc1598467c8f5d2f.tar.gz |
netops: add method to return default http port for a connection
Constant strings and logic for HTTP(S) default ports were starting to be
spread throughout netops.c. Instead of duplicating this again to
determine if a Host header should include the port, move the default
port constants and logic into an internal method in netops.{c,h}.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions