Searched refs:nb_domain1 (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libntsvcs/common/
H A Dntsvcs_clnt.c1071 char *nb_domain1, *nb_domain2, *p; local
1078 if ((nb_domain1 = strdup(domain)) == NULL)
1082 free(nb_domain1);
1086 if ((p = strchr(nb_domain1, '.')) != NULL)
1089 if (strlen(nb_domain1) >= NETBIOS_NAME_SZ)
1090 nb_domain1[NETBIOS_NAME_SZ - 1] = '\0';
1098 found = (smb_strcasecmp(nb_domain1, nb_domain2, 0) == 0);
1099 free(nb_domain1);

Completed in 19 milliseconds