diff options
author | Russ Allbery <rra@stanford.edu> | 2011-09-20 21:39:52 -0700 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2011-09-20 21:39:52 -0700 |
commit | c82ebaa070d5c4e9e1311b336139160ddf9e12cc (patch) | |
tree | 1b67c222b72f00eda61b79dbd03e56a7589f4536 /client | |
parent | d4fb4c26b7e3a3911c7d02da7cad6135435a7977 (diff) |
Update to rra-c-util 3.9
* Add notices in each file copied from rra-c-util.
* Prefer gssapi/gssapi.h to gssapi.h.
* Include strings.h if it exists for strncasecmp on some platforms.
* getaddrinfo replacement now portable to systems with bad netdb.h.
* Avoid krb5-config if --with-gssapi-{include,lib} are given.
* Add Windows implementation of fdflag_nonblocking.
* The network_connect utility functions now take an optional timeout.
* Use typedef instead of #define for socklen_t and sig_atomic_t.
* Stop providing or using INADDR_LOOPBACK for portability reasons.
Diffstat (limited to 'client')
-rw-r--r-- | client/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/open.c b/client/open.c index 725cd00..9acd0a1 100644 --- a/client/open.c +++ b/client/open.c @@ -56,7 +56,7 @@ internal_connect(struct remctl *r, const char *host, unsigned short port) gai_strerror(status)); return INVALID_SOCKET; } - fd = network_connect(ai, r->source); + fd = network_connect(ai, r->source, 0); freeaddrinfo(ai); if (fd == INVALID_SOCKET) { internal_set_error(r, "cannot connect to %s (port %hu): %s", host, |