329 |
assert(auth->client); |
assert(auth->client); |
330 |
assert(auth->client->connection); |
assert(auth->client->connection); |
331 |
|
|
332 |
if ((len = recv(auth->fd->fd, buf, sizeof(buf) - 1, 0)) > 0) |
if (F->read_handler == NULL && (len = recv(auth->fd->fd, buf, sizeof(buf) - 1, 0)) > 0) |
333 |
{ |
{ |
334 |
buf[len] = '\0'; |
buf[len] = '\0'; |
335 |
username = auth_check_ident_reply(buf); |
username = auth_check_ident_reply(buf); |
411 |
return; |
return; |
412 |
} |
} |
413 |
|
|
414 |
comm_setselect(F, COMM_SELECT_READ, auth_read_reply, auth, 0); |
comm_setselect(F, COMM_SELECT_READ, auth_read_reply, auth, 3); |
415 |
} |
} |
416 |
|
|
417 |
/*! \brief Flag the client to show an attempt to contact the ident server on |
/*! \brief Flag the client to show an attempt to contact the ident server on |