X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fnss-mymachines%2Fnss-mymachines.c;fp=src%2Fnss-mymachines%2Fnss-mymachines.c;h=09c5d05f2ecd98da008301013c1d434cf654c5de;hb=9d485985338a46b8cb1acdf1af6c1eb2e88acfee;hp=eb1d2b450ba076ecfcf5d569525db68a190c32cb;hpb=ca4e095ab9e970cb8fa472ae69ea1f0648041722;p=elogind.git diff --git a/src/nss-mymachines/nss-mymachines.c b/src/nss-mymachines/nss-mymachines.c index eb1d2b450..09c5d05f2 100644 --- a/src/nss-mymachines/nss-mymachines.c +++ b/src/nss-mymachines/nss-mymachines.c @@ -173,7 +173,7 @@ enum nss_status _nss_mymachines_gethostbyname4_r( goto fail; } - if (sz != PROTO_ADDRESS_SIZE(family)) { + if (sz != FAMILY_ADDRESS_SIZE(family)) { r = -EINVAL; goto fail; } @@ -281,7 +281,7 @@ enum nss_status _nss_mymachines_gethostbyname3_r( return NSS_STATUS_NOTFOUND; } - alen = PROTO_ADDRESS_SIZE(af); + alen = FAMILY_ADDRESS_SIZE(af); l = strlen(name); ms = ALIGN(l+1) +