From 2a1dea970d565187255f6acffcb9963d6cefc674 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 15 Jan 2007 22:38:46 +0000 Subject: * nscd/connections.c (handle_request): Add a __builtin_expect. --- nscd/connections.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nscd') diff --git a/nscd/connections.c b/nscd/connections.c index 179b0a332f..a577568b12 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, -- cgit v1.2.3