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
|
static int
|
||||||
loop (int s, int errsock)
|
loop (int s, int errsock)
|
||||||
{
|
{
|
||||||
struct fd_set real_readset;
|
fd_set real_readset;
|
||||||
int count = 2;
|
int count = 2;
|
||||||
|
|
||||||
FD_ZERO(&real_readset);
|
FD_ZERO(&real_readset);
|
||||||
@@ -69,7 +69,7 @@ loop (int s, int errsock)
|
|||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
int ret;
|
int ret;
|
||||||
struct fd_set readset;
|
fd_set readset;
|
||||||
char buf[RSH_BUFSIZ];
|
char buf[RSH_BUFSIZ];
|
||||||
|
|
||||||
readset = real_readset;
|
readset = real_readset;
|
||||||
|
@@ -567,7 +567,7 @@ doit (int port)
|
|||||||
|
|
||||||
while(exit_flag == 0) {
|
while(exit_flag == 0) {
|
||||||
int ret;
|
int ret;
|
||||||
struct fd_set fdset = real_fdset;
|
fd_set fdset = real_fdset;
|
||||||
|
|
||||||
ret = select (maxfd + 1, &fdset, NULL, NULL, NULL);
|
ret = select (maxfd + 1, &fdset, NULL, NULL, NULL);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
@@ -316,7 +316,7 @@ krb5_change_password (krb5_context context,
|
|||||||
KRB5_AUTH_CONTEXT_DO_SEQUENCE);
|
KRB5_AUTH_CONTEXT_DO_SEQUENCE);
|
||||||
|
|
||||||
for (i = 0; i < 5; ++i) {
|
for (i = 0; i < 5; ++i) {
|
||||||
struct fd_set fdset;
|
fd_set fdset;
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
|
||||||
ret = send_request (context,
|
ret = send_request (context,
|
||||||
|
@@ -47,7 +47,7 @@ send_and_recv (int fd,
|
|||||||
const krb5_data *req,
|
const krb5_data *req,
|
||||||
krb5_data *rep)
|
krb5_data *rep)
|
||||||
{
|
{
|
||||||
struct fd_set fdset;
|
fd_set fdset;
|
||||||
struct timeval timeout;
|
struct timeval timeout;
|
||||||
int ret;
|
int ret;
|
||||||
int nbytes;
|
int nbytes;
|
||||||
|
Reference in New Issue
Block a user