Removed some warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@874 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user