Fix nesting of #ifdefs in netgroupcache.c

This commit is contained in:
Ulrich Drepper 2011-10-17 10:30:03 -04:00
parent 49a43d80ec
commit 97c066e65a
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2011-10-17 Ulrich Drepper <drepper@gmail.com>
* nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
2011-10-17 Andreas Schwab <schwab@redhat.com>
* misc/sys/cdefs.h: Fix last change.

View File

@ -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);
}