mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 11:35:07 -05:00
cf6c5c222d
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> |
||
---|---|---|
.. | ||
.gitignore | ||
base64.pl | ||
CMakeLists.txt | ||
fake_ntlm.c | ||
getpart.c | ||
getpart.h | ||
Makefile.am | ||
Makefile.inc | ||
resolve.c | ||
rtspd.c | ||
server_setup.h | ||
server_sockaddr.h | ||
sockfilt.c | ||
sws.c | ||
testpart.c | ||
tftp.h | ||
tftpd.c | ||
util.c | ||
util.h |