diff options
author | Ezra Peisach <epeisach@mit.edu> | 2001-10-26 15:34:40 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2001-10-26 15:34:40 +0000 |
commit | 672df5aa114c820c45b8372896e4a537ed149593 (patch) | |
tree | 69fcc8de07d9898804942dc2e1bacf7ec5f1129b /src/kadmin | |
parent | 889016ec69d2466acfdc573677558a51db769837 (diff) | |
download | krb5-672df5aa114c820c45b8372896e4a537ed149593.tar.gz krb5-672df5aa114c820c45b8372896e4a537ed149593.tar.xz krb5-672df5aa114c820c45b8372896e4a537ed149593.zip |
* schpw.c (process_chpw_request): Use GETSOCKNAME_ARG3_TYPE
instead of int as argument to getsockname().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13862 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin')
-rw-r--r-- | src/kadmin/server/ChangeLog | 5 | ||||
-rw-r--r-- | src/kadmin/server/schpw.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index 25659f12db..9af1d19e3d 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -1,3 +1,8 @@ +2001-10-26 Ezra Peisach <epeisach@mit.edu> + + * schpw.c (process_chpw_request): Use GETSOCKNAME_ARG3_TYPE + instead of int as argument to getsockname(). + 2001-06-29 Ezra Peisach <epeisach@mit.edu> * misc.c, server_stubs.c: Nuke rcsid. diff --git a/src/kadmin/server/schpw.c b/src/kadmin/server/schpw.c index 909d0f0e80..ddf6238862 100644 --- a/src/kadmin/server/schpw.c +++ b/src/kadmin/server/schpw.c @@ -7,6 +7,10 @@ #include "misc.h" +#ifndef GETSOCKNAME_ARG3_TYPE +#define GETSOCKNAME_ARG3_TYPE int +#endif + krb5_error_code process_chpw_request(context, server_handle, realm, s, keytab, sockin, req, rep) @@ -30,7 +34,7 @@ process_chpw_request(context, server_handle, realm, s, keytab, sockin, krb5_ticket *ticket; krb5_data cipher, clear; struct sockaddr local_addr, remote_addr; - int addrlen; + GETSOCKNAME_ARG3_TYPE addrlen; krb5_replay_data replay; krb5_error krberror; int numresult; |