diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-07-25 18:02:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-07-25 18:02:26 +0000 |
commit | 6730873037b6afad1504bb237399c343cce18451 (patch) | |
tree | cb31093b70d4dfbf5f1c77482720bf871261b8c5 /nscd/connections.c | |
parent | 264d5b944dca563c8b948392942d1ea33d221723 (diff) | |
download | glibc-6730873037b6afad1504bb237399c343cce18451.tar.gz glibc-6730873037b6afad1504bb237399c343cce18451.tar.xz glibc-6730873037b6afad1504bb237399c343cce18451.zip |
Update.
1998-07-25 Ulrich Drepper <drepper@cygnus.com> * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to prevent conflict with __bswap_32.
Diffstat (limited to 'nscd/connections.c')
-rw-r--r-- | nscd/connections.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nscd/connections.c b/nscd/connections.c index e11132c514..582a6cf8f0 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -502,6 +502,14 @@ gr_send_answer (int conn, struct group *grp) } /* Send all the data. */ + while (nblocks > UIO_MAXIOV) + { + if (writev (sock[conn], vec, UIO_MAXIOV) != total_len) + dbg_log (_("write incomplete on send group answer: %s"), + strerror (errno)); + vec += UIO_MAXIOV; + nblocks -= UIO_MAXIOV; + } if (writev (sock[conn], vec, nblocks) != total_len) dbg_log (_("write incomplete on send group answer: %s"), strerror (errno)); |