From: Tom Yu Date: Fri, 30 Jan 1998 20:56:47 +0000 (+0000) Subject: * changepw.c (krb5_change_password): KRB5_USE_INET -> X-Git-Tag: krb5-1.1-beta1~866 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0aab5888b41381d04e369886f11ebe2f32bcb0af;p=krb5.git * changepw.c (krb5_change_password): KRB5_USE_INET -> HAVE_NETINET_IN_H. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10392 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index bb71df485..e95b95eb3 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +Fri Jan 30 15:56:15 1998 Tom Yu + + * changepw.c (krb5_change_password): KRB5_USE_INET -> + HAVE_NETINET_IN_H. + Fri Jan 2 21:28:56 1998 Tom Yu * locate_kdc.c (krb5_locate_kdc): Check return of diff --git a/src/lib/krb5/os/changepw.c b/src/lib/krb5/os/changepw.c index 75f04cb6b..9ac6ee834 100644 --- a/src/lib/krb5/os/changepw.c +++ b/src/lib/krb5/os/changepw.c @@ -64,7 +64,7 @@ krb5_change_password(context, creds, newpw, result_code, struct sockaddr_in *sin_p; struct hostent *hp; struct servent *sp; -#ifdef KRB5_USE_INET +#ifdef HAVE_NETINET_IN_H u_short udpport = htons(KRB5_DEFAULT_PORT); #endif int cc, local_result_code, tmp_len; @@ -112,7 +112,7 @@ krb5_change_password(context, creds, newpw, result_code, else if (code) return code; -#ifdef KRB5_USE_INET +#ifdef HAVE_NETINET_IN_H /* XXX should look for "kpasswd" in /etc/services */ udpport = htons(DEFAULT_KPASSWD_PORT); #endif @@ -154,7 +154,7 @@ krb5_change_password(context, creds, newpw, result_code, if (hp != 0) { switch (hp->h_addrtype) { -#ifdef KRB5_USE_INET +#ifdef HAVE_NETINET_IN_H case AF_INET: for (j=0; hp->h_addr_list[j]; j++) { sin_p = (struct sockaddr_in *) &addr_p[out++];