* test.c (do_remote): Comment out unused variables.
* sendmsg.c (krb524_sendto_kdc): Cleanup assignment in conditional.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13266
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-06-04 Ezra Peisach <epeisach@mit.edu>
+
+ * k524init.c: Inculde unistd.h for getopt() prototype.
+
+ * test.c (do_remote): Comment out unused variables.
+
+ * sendmsg.c (krb524_sendto_kdc): Cleanup assignment in conditional.
+
2001-05-08 Ken Raeburn <raeburn@mit.edu>
* sendmsg.c (krb524_sendto_kdc): Do fallback if KRB5_REALM_UNKNOWN
#include "com_err.h"
#include <stdio.h>
+#include <unistd.h>
#include <string.h>
#include <signal.h>
#include <sys/types.h>
waitlen.tv_sec = timeout;
FD_ZERO(&readable);
FD_SET(socklist[host], &readable);
- if (nready = select(SOCKET_NFDS(socklist[host]),
- &readable,
- 0,
- 0,
- &waitlen)) {
+ nready = select(SOCKET_NFDS(socklist[host]),
+ &readable, 0, 0, &waitlen);
+ if (nready) {
if (nready == SOCKET_ERROR) {
if (SOCKET_ERRNO == SOCKET_EINTR)
goto retry;
char *server;
krb5_keyblock *key;
{
+#if 0
struct sockaddr_in saddr;
struct hostent *hp;
+#endif
CREDENTIALS v4creds;
int ret;