]> xenbits.xensource.com Git - libvirt.git/commitdiff
libvirt_nss.c: Fix typo in aiforaf()
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 22 Sep 2017 10:41:51 +0000 (12:41 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 22 Sep 2017 11:20:35 +0000 (13:20 +0200)
In my previous commit of b1d87f9ad96f I've made a typo breaking
the FreeBSD build. s/ipAaddr/ipAddr/

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tools/nss/libvirt_nss.c

index da4bf79a461756532ee6312c993bda7f6a3dba7b..49dc621ab7fe463adc4fd6bba2a0a6b9961ba33e 100644 (file)
@@ -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++;
     }
 }