if (group != NULL && strlen (group) > 0 && principal != NULL)
if (group != NULL && group[0] != '\0' && principal != NULL)
nis_ismember (const_nis_name principal, const_nis_name group){  if (group != NULL && strlen (group) > 0 && principal != NULL)    return internal_ismember (principal, group) == 1 ? TRUE : FALSE;  else    return FALSE;}