code = getaddrinfo(aci->hostName[i], NULL, &hints, &result);
if (code) {
+ printf("Host %s not found in host database...\n",
+ aci->hostName[i]);
return AFSCONF_FAILURE;
}
for (rp = result; rp != NULL; rp = rp->ai_next) {
}
freeaddrinfo(result);
if (aci->hostAddr[i].sin_addr.s_addr == 0) {
+ printf("No non-loopback addresses found for host %s\n",
+ aci->hostName[i]);
return AFSCONF_FAILURE;
}
}
}
/* write CellServDB */
- strcompose(tbuffer, 1024, apath, "/", AFSDIR_CELLSERVDB_FILE, (char *)NULL);
- tf = fopen(tbuffer, "w");
+ tf = fopen(adir->cellservDB, "w");
if (!tf) {
UNLOCK_GLOBAL_MUTEX;
return AFSCONF_NOTFOUND;