/* Error, get out */
foreach_dlist(fd_ptr, &sockfds) {
close(fd_ptr->fd);
- free((void *)fd_ptr);
}
Emsg1(M_FATAL, 0, _("Error in select: %s\n"), be.strerror());
break;
sockaddr_to_ascii(&cli_addr, buf, sizeof(buf));
V(mutex);
BSOCK *bs;
- int oflags = fcntl(newsockfd, F_GETFL, 0);
- if (oflags & O_NONBLOCK) {
- Jmsg1(NULL, M_ABORT, 0, _("Nonblocking socket %d.\n"), newsockfd);
- }
bs = init_bsock(NULL, newsockfd, "client", buf, fd_ptr->port, &cli_addr);
if (bs == NULL) {
Jmsg0(NULL, M_ABORT, 0, _("Could not create client BSOCK.\n"));