Substitute struct fd_set' with fd_set'.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@606 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-07-13 01:20:08 +00:00
parent ca9455b2a0
commit abde472962

View File

@@ -507,13 +507,13 @@ getreply(int expecteof)
#endif #endif
int int
empty(struct fd_set *mask, int sec) empty(fd_set *mask, int sec)
{ {
struct timeval t; struct timeval t;
t.tv_sec = (long) sec; t.tv_sec = (long) sec;
t.tv_usec = 0; t.tv_usec = 0;
return (select(32, mask, (struct fd_set *) 0, (struct fd_set *) 0, &t)); return (select(32, mask, (fd_set *) 0, (fd_set *) 0, &t));
} }
jmp_buf sendabort; jmp_buf sendabort;
@@ -1397,7 +1397,7 @@ proxtrans(char *cmd, char *local, char *remote)
sighand oldintr; sighand oldintr;
int secndflag = 0, prox_type, nfnd; int secndflag = 0, prox_type, nfnd;
char *cmd2; char *cmd2;
struct fd_set mask; fd_set mask;
if (strcmp(cmd, "RETR")) if (strcmp(cmd, "RETR"))
cmd2 = "RETR"; cmd2 = "RETR";
@@ -1512,7 +1512,7 @@ abort:
void void
reset(int argc, char **argv) reset(int argc, char **argv)
{ {
struct fd_set mask; fd_set mask;
int nfnd = 1; int nfnd = 1;
FD_ZERO(&mask); FD_ZERO(&mask);
@@ -1579,7 +1579,7 @@ abort_remote(FILE *din)
{ {
char buf[BUFSIZ]; char buf[BUFSIZ];
int nfnd; int nfnd;
struct fd_set mask; fd_set mask;
/* /*
* send IAC in urgent mode instead of DM because 4.3BSD places oob mark * send IAC in urgent mode instead of DM because 4.3BSD places oob mark