summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/nbt_server/interfaces.c2
-rw-r--r--source4/nbt_server/register.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/nbt_server/interfaces.c b/source4/nbt_server/interfaces.c
index b2fc0ad6be..42572614f2 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 3b7d57efaf..c28ba0764c 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;
}