merge of 50be59810e462f9f44f55e421227d6aa0b31982b

and 69b007796063cb5f042be7cca2d479e90db869c3

--HG--
extra : convert_revision : 5d0dfaa8c0ee6c728a3b4f0f0855199ba729db83
This commit is contained in:
Matt Johnston
2004-08-27 14:39:01 +00:00
parent 51a74b4799
commit 69282617fd
9 changed files with 65 additions and 36 deletions

View File

@@ -75,9 +75,7 @@ int x11req(struct ChanSess * chansess) {
}
/* set non-blocking */
if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) {
goto fail;
}
setnonblocking(fd);
/* listener code will handle the socket now.
* No cleanup handler needed, since listener_remove only happens