changed struct fd_set' to
fd_set'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4074 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -57,7 +57,7 @@ static int input; /* Read from stdin */
|
||||
static int
|
||||
loop (int s, int errsock)
|
||||
{
|
||||
struct fd_set real_readset;
|
||||
fd_set real_readset;
|
||||
int count = 2;
|
||||
|
||||
FD_ZERO(&real_readset);
|
||||
@@ -69,7 +69,7 @@ loop (int s, int errsock)
|
||||
|
||||
for (;;) {
|
||||
int ret;
|
||||
struct fd_set readset;
|
||||
fd_set readset;
|
||||
char buf[RSH_BUFSIZ];
|
||||
|
||||
readset = real_readset;
|
||||
|
@@ -567,7 +567,7 @@ doit (int port)
|
||||
|
||||
while(exit_flag == 0) {
|
||||
int ret;
|
||||
struct fd_set fdset = real_fdset;
|
||||
fd_set fdset = real_fdset;
|
||||
|
||||
ret = select (maxfd + 1, &fdset, NULL, NULL, NULL);
|
||||
if (ret < 0)
|
||||
|
@@ -316,7 +316,7 @@ krb5_change_password (krb5_context context,
|
||||
KRB5_AUTH_CONTEXT_DO_SEQUENCE);
|
||||
|
||||
for (i = 0; i < 5; ++i) {
|
||||
struct fd_set fdset;
|
||||
fd_set fdset;
|
||||
struct timeval tv;
|
||||
|
||||
ret = send_request (context,
|
||||
|
@@ -47,7 +47,7 @@ send_and_recv (int fd,
|
||||
const krb5_data *req,
|
||||
krb5_data *rep)
|
||||
{
|
||||
struct fd_set fdset;
|
||||
fd_set fdset;
|
||||
struct timeval timeout;
|
||||
int ret;
|
||||
int nbytes;
|
||||
|
Reference in New Issue
Block a user