[PATCH V2 04/11] library: Fix misspelling of "node" in openconnect_override_getaddrinfo()

Kevin Cernekee cernekee at gmail.com
Mon Feb 8 22:34:10 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 95d0eed7ecda..e8bcb95c16e2 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);
 
-- 
2.7.0




More information about the openconnect-devel mailing list