aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/symbols-in-versions
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-11-27 23:59:19 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-11-30 23:21:14 +0100
commitcf6c5c222d86088cbfc9dee4c23f8ada96ee91e7 (patch)
treec0669119410c08cd08fb881cf61a4f6c4bd8b513 /docs/libcurl/symbols-in-versions
parentaba5888f6b68633ff84f73f22c67f7af900f8511 (diff)
sws: move away from IPv4/IPv4-only assumption
Instead of depending the socket domain type on use_ipv6, specify the domain type (AF_INET / AF_INET6) as variable. An enum is used here with switch to avoid compiler warnings in connect_to, complaining that rc is possibly undefined (which is not possible as socket_domain is always set). Besides abstracting the socket type, make the debugging messages be independent on IP (introduce location_str which points to "port XXXXX"). Rename "ipv_inuse" to "socket_type" and tighten the scope (main). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'docs/libcurl/symbols-in-versions')
0 files changed, 0 insertions, 0 deletions