krb5 commit: Fix typo in previous change to get_fq_hostname
Tom Yu
tlyu at MIT.EDU
Tue Jul 3 16:45:48 EDT 2012
https://github.com/krb5/krb5/commit/178a98e4bf51df6e3bb574a2ea2c49250ef1537f
commit 178a98e4bf51df6e3bb574a2ea2c49250ef1537f
Author: Tom Yu <tlyu at mit.edu>
Date: Tue Jul 3 16:44:05 2012 -0400
Fix typo in previous change to get_fq_hostname
ticket: 7086
src/lib/krb5/os/hst_realm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/lib/krb5/os/hst_realm.c b/src/lib/krb5/os/hst_realm.c
index 3665685..f5cec66 100644
--- a/src/lib/krb5/os/hst_realm.c
+++ b/src/lib/krb5/os/hst_realm.c
@@ -112,7 +112,7 @@ get_fq_hostname(char *buf, size_t bufsize, const char *name)
if (err)
return krb5int_translate_gai_error (err);
if (ai->ai_canonname == NULL) {
- freaddrinfo(ai);
+ freeaddrinfo(ai);
return KRB5_EAI_FAIL;
}
strncpy (buf, ai->ai_canonname, bufsize);
More information about the cvs-krb5
mailing list