mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-12 16:20:06 +00:00
* nscd/connections.c (handle_request): Add a __builtin_expect.
This commit is contained in:
parent
9691d83c53
commit
2a1dea970d
@ -1,5 +1,7 @@
|
||||
2007-01-15 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* nscd/connections.c (handle_request): Add a __builtin_expect.
|
||||
|
||||
* nscd/connections.c (serv2db): Change type into structure which
|
||||
also says whether this is a request for data. Renamed to
|
||||
servinfo. All users changed.
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user