Searched refs:new_fqdn (Results 1 – 1 of 1) sorted by relevance
378 char *new_name = NULL, *new_fqdn = NULL; in lease_set_hostname() local396 if (suffix && (new_fqdn = whine_malloc(strlen(new_name) + strlen(suffix) + 2))) { in lease_set_hostname()397 strcpy(new_fqdn, name); in lease_set_hostname()398 strcat(new_fqdn, "."); in lease_set_hostname()399 strcat(new_fqdn, suffix); in lease_set_hostname()406 if (!new_fqdn || !lease_tmp->fqdn || !hostname_isequal(lease_tmp->fqdn, new_fqdn)) in lease_set_hostname()416 free(new_fqdn); in lease_set_hostname()428 lease->fqdn = new_fqdn; in lease_set_hostname()