diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-07-15 21:37:58 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-07-15 21:37:58 +0000 |
commit | d96116bc33caf25d20c1a1912c04f9cd20da1e63 (patch) | |
tree | e50c4dea932994f31f0392ce5788fae4d5a50e81 /common | |
parent | 2d855cb21bc83cbc22e2a55aaa8640c8d6bbe2c1 (diff) |
fix typo
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@306 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'common')
-rw-r--r-- | common/tio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/tio.c b/common/tio.c index eaa4d46..76c41d4 100644 --- a/common/tio.c +++ b/common/tio.c @@ -340,7 +340,7 @@ int tio_write(TFILE *fp, const void *buf, size_t count) fp->writebuffer->len+=count; return 0; } - else if (fr >= 0) + else if (fr > 0) { /* fill the buffer */ memcpy(fp->writebuffer->buffer+fp->writebuffer->start+fp->writebuffer->len,ptr,fr); |