[PATCH 2/9] library: Fix misspelling of "node" in openconnect_override_getaddrinfo()

Kevin Cernekee cernekee at gmail.com
Sun Feb 7 20:25:59 PST 2016

"node" or "host" would work equally well, but getaddrinfo(3) uses "node".

Signed-off-by: Kevin Cernekee <cernekee at gmail.com>
 openconnect.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openconnect.h b/openconnect.h
index 95d0eed..e8bcb95 100644
--- a/openconnect.h
+++ b/openconnect.h
@@ -593,7 +593,7 @@ int openconnect_has_system_key_support(void);
 int openconnect_set_protocol(struct openconnect_info *vpninfo, const char *protocol);
 struct addrinfo;
-typedef int (*openconnect_getaddrinfo_vfn) (void *privdata, const char *nost, const char *service,
+typedef int (*openconnect_getaddrinfo_vfn) (void *privdata, const char *node, const char *service,
 					    const struct addrinfo *hints, struct addrinfo **res);
 void openconnect_override_getaddrinfo(struct openconnect_info *vpninfo, openconnect_getaddrinfo_vfn gai_fn);

More information about the openconnect-devel mailing list