mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-31 10:05:31 +00:00
libvirt_nss.c: Fix typo in aiforaf()
In my previous commit of b1d87f9ad9
I've made a typo breaking
the FreeBSD build. s/ipAaddr/ipAddr/
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
eba2225bc5
commit
8a573f7c0c
@ -643,7 +643,7 @@ aiforaf(const char *name, int af, struct addrinfo *pai, struct addrinfo **aip)
|
||||
hints.ai_family = af;
|
||||
|
||||
if (getaddrinfo(ipAddr, NULL, &hints, &res0)) {
|
||||
VIR_FREE(ipAaddr);
|
||||
VIR_FREE(ipAddr);
|
||||
addrList++;
|
||||
continue;
|
||||
}
|
||||
@ -655,7 +655,7 @@ aiforaf(const char *name, int af, struct addrinfo *pai, struct addrinfo **aip)
|
||||
while ((*aip)->ai_next)
|
||||
*aip = (*aip)->ai_next;
|
||||
|
||||
VIR_FREE(ipAaddr);
|
||||
VIR_FREE(ipAddr);
|
||||
addrList++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user