diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-09-23 13:06:26 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-09-23 13:06:26 +0200 |
commit | d355fd024e68f6c955bff1d004968b24d10b2e32 (patch) | |
tree | 5a812dfc9ddc2dddaf70f1a4d0a512dfa0626e60 /common | |
parent | 31faddb50122d2243541d9b291bfa9b32f3e742b (diff) |
some small improvements to the code based on some source code checks
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@418 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'common')
-rw-r--r-- | common/tio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/tio.c b/common/tio.c index 76c41d4..7d3e197 100644 --- a/common/tio.c +++ b/common/tio.c @@ -35,6 +35,8 @@ /* buffer size for both read and write buffers */ /* TODO: pass this along with the open function */ +/* Note that this size should not be larger than SSIZE_MAX because otherwise + write() of such blocks is undefined */ #define TIO_BUFFERSIZE (4*1024) /* structure that holds a buffer */ |