diff options
-rw-r--r-- | source4/nbt_server/interfaces.c | 2 | ||||
-rw-r--r-- | source4/nbt_server/register.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/nbt_server/interfaces.c b/source4/nbt_server/interfaces.c index b2fc0ad6bee..42572614f20 100644 --- a/source4/nbt_server/interfaces.c +++ b/source4/nbt_server/interfaces.c @@ -79,7 +79,7 @@ struct nbtd_iface_name *nbtd_find_iname(struct nbtd_interface *iface, struct nbtd_iface_name *iname; for (iname=iface->names;iname;iname=iname->next) { if (iname->name.type == name->type && - StrCaseCmp(name->name, iname->name.name) == 0 && + strcmp(name->name, iname->name.name) == 0 && ((iname->nb_flags & nb_flags) == nb_flags)) { return iname; } diff --git a/source4/nbt_server/register.c b/source4/nbt_server/register.c index 3b7d57efaf0..c28ba0764c2 100644 --- a/source4/nbt_server/register.c +++ b/source4/nbt_server/register.c @@ -170,7 +170,7 @@ static void nbtd_register_name_iface(struct nbtd_interface *iface, iname->name.name = strupper_talloc(iname, name); iname->name.type = type; if (scope && *scope) { - iname->name.scope = talloc_strdup(iname, scope); + iname->name.scope = strupper_talloc(iname, scope); } else { iname->name.scope = NULL; } |