Removed some warnings

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@874 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1996-10-21 23:12:23 +00:00
parent a9a0d3bd65
commit d7827cfb24
8 changed files with 528 additions and 518 deletions

View File

@@ -67,7 +67,7 @@ krb5_sendto_kdc (krb5_context context,
}
for (i = 0; i < 3; ++i)
for (hp = hostlist; p = *hp; ++hp) {
for (hp = hostlist; (p = *hp); ++hp) {
char *addr;
char *colon;
@@ -77,7 +77,7 @@ krb5_sendto_kdc (krb5_context context,
hostent = gethostbyname (p);
if (colon)
*colon++ = ':';
while (addr = *hostent->h_addr_list++) {
while ((addr = *hostent->h_addr_list++)) {
struct sockaddr_in a;
memset (&a, 0, sizeof(a));