summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2012-12-06 20:53:23 +0000
committerArthur de Jong <arthur@arthurdejong.org>2012-12-06 20:53:23 +0000
commit00293852302ff6b0a3f2cb7ca4cf042cb9da8fe8 (patch)
tree70915d68554f4c7c6642b6200d87b8255ab2b52c /common
parent2b09ee086a8a261ca20c1c74757e6e4c68602f89 (diff)
make test even more verbose and set number of writes back at 10000 to avoid issues with systems with large buffers
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1846 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'common')
-rw-r--r--common/tio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/tio.c b/common/tio.c
index 0dffff4..ecb279f 100644
--- a/common/tio.c
+++ b/common/tio.c
@@ -414,7 +414,7 @@ static int tio_flush_nonblock(TFILE *fp)
{
struct pollfd fds[1];
int rv;
- /* wait for activity */
+ /* see if we can write without blocking */
fds[0].fd=fp->fd;
fds[0].events=POLLOUT;
rv=poll(fds,1,0);