diff options
author | Ezra Peisach <epeisach@mit.edu> | 2000-10-17 23:12:04 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2000-10-17 23:12:04 +0000 |
commit | 598b026aa03f54812f833e4921c040c028faf281 (patch) | |
tree | c0bbcd08d0e9f977d51c128dbac67947bbc6c921 /src/clients | |
parent | 7f5866b2f57c49bc63f02c048553022ff5a77e56 (diff) | |
download | krb5-598b026aa03f54812f833e4921c040c028faf281.tar.gz krb5-598b026aa03f54812f833e4921c040c028faf281.tar.xz krb5-598b026aa03f54812f833e4921c040c028faf281.zip |
* klist.c (one_addr): gethostbyaddr takes an int as second argument
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12798 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/clients')
-rw-r--r-- | src/clients/klist/ChangeLog | 4 | ||||
-rw-r--r-- | src/clients/klist/klist.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog index 559ac9f46e..13baa14b28 100644 --- a/src/clients/klist/ChangeLog +++ b/src/clients/klist/ChangeLog @@ -1,3 +1,7 @@ +2000-10-17 Ezra Peisach <epeisach@mit.edu> + + * klist.c (one_addr): gethostbyaddr takes an int as second argument. + 2000-10-09 Tom Yu <tlyu@mit.edu> * klist.c (do_v4_ccache): Call life_to_time(). diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c index c2d37b9539..60a1217303 100644 --- a/src/clients/klist/klist.c +++ b/src/clients/klist/klist.c @@ -670,7 +670,7 @@ void one_addr(a) freehostent(h); } #else - h = gethostbyaddr(a->contents, a->length, af); + h = gethostbyaddr(a->contents, (int) a->length, af); if (h) { printf("%s", h->h_name); } |