aboutsummaryrefslogtreecommitdiff
path: root/nscd/connections.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-01-15 22:38:46 +0000
committerUlrich Drepper <drepper@redhat.com>2007-01-15 22:38:46 +0000
commit2a1dea970d565187255f6acffcb9963d6cefc674 (patch)
tree1d3437a0478f43b693cdb2922f1e02b529679490 /nscd/connections.c
parent9691d83c537b8c03e9fe17194014f9e37b7d628f (diff)
downloadglibc-2a1dea970d565187255f6acffcb9963d6cefc674.zip
glibc-2a1dea970d565187255f6acffcb9963d6cefc674.tar.gz
glibc-2a1dea970d565187255f6acffcb9963d6cefc674.tar.bz2
* nscd/connections.c (handle_request): Add a __builtin_expect.
Diffstat (limited to 'nscd/connections.c')
-rw-r--r--nscd/connections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/connections.c b/nscd/connections.c
index 179b0a3..a577568 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -970,7 +970,7 @@ cannot handle old request version %d; current version is %d"),
}
/* Is this service enabled? */
- if (!db->enabled)
+ if (__builtin_expect (!db->enabled, 0))
{
/* No, sent the prepared record. */
if (TEMP_FAILURE_RETRY (send (fd, db->disabled_iov->iov_base,