mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
nss_dns: Correct parentheses for the __glibc_unlikely argument
This fixes commit bee05c9d58
.
This commit is contained in:
parent
b8129a415e
commit
a0704b1ac7
@ -1,3 +1,7 @@
|
||||
2017-04-19 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
|
||||
|
||||
2017-04-19 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* inet/rcmd.c (rresvport_af): Fix typo in comment.
|
||||
|
@ -633,7 +633,7 @@ getanswer_r (const querybuf *answer, int anslen, const char *qname, int qtype,
|
||||
packtmp, sizeof packtmp);
|
||||
if (n != -1 && __ns_name_ntop (packtmp, bp, linebuflen) == -1)
|
||||
{
|
||||
if (__glibc_unlikely (errno) == EMSGSIZE)
|
||||
if (__glibc_unlikely (errno == EMSGSIZE))
|
||||
goto too_small;
|
||||
|
||||
n = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user