aboutsummaryrefslogtreecommitdiff
path: root/nscd/netgroupcache.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-10-17 10:30:03 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-17 10:30:03 -0400
commit97c066e65af5d0a52d794d7fd81d7242ee46c49c (patch)
tree5bb81b6b35b549b8c97866b94f5f1499777b38b4 /nscd/netgroupcache.c
parent49a43d80ec5c97cf6136b1ee2687414773b2d5aa (diff)
downloadglibc-97c066e65af5d0a52d794d7fd81d7242ee46c49c.zip
glibc-97c066e65af5d0a52d794d7fd81d7242ee46c49c.tar.gz
glibc-97c066e65af5d0a52d794d7fd81d7242ee46c49c.tar.bz2
Fix nesting of #ifdefs in netgroupcache.c
Diffstat (limited to 'nscd/netgroupcache.c')
-rw-r--r--nscd/netgroupcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/netgroupcache.c b/nscd/netgroupcache.c
index a406ade..02cda13 100644
--- a/nscd/netgroupcache.c
+++ b/nscd/netgroupcache.c
@@ -406,10 +406,10 @@ addgetnetgrentX (struct database_dyn *db, int fd, request_header *req,
# endif
}
else
+#endif
{
-# ifndef __ASSUME_SENDFILE
+#if defined HAVE_SENDFILE && !defined __ASSUME_SENDFILE
use_write:
-# endif
#endif
writeall (fd, &dataset->resp, dataset->head.recsize);
}