1608
1658
if (listen_fd_ssh != -1 && FD_ISSET (listen_fd_ssh, &read_fdset))
1611
1663
fd = pth_accept (listen_fd_ssh, (struct sockaddr *)&paddr, &plen);
1614
1666
log_error ("accept failed for ssh: %s\n", strerror (errno));
1619
1679
snprintf (threadname, sizeof threadname-1,
1621
1681
threadname[sizeof threadname -1] = 0;
1622
1682
pth_attr_set (tattr, PTH_ATTR_NAME, threadname);
1626
1686
log_error ("error spawning ssh connection handler: %s\n",