summaryrefslogtreecommitdiff
path: root/source3/lib/util_names.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util_names.c')
-rw-r--r--source3/lib/util_names.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/util_names.c b/source3/lib/util_names.c
index 0e128eab1c..cf54a0eece 100644
--- a/source3/lib/util_names.c
+++ b/source3/lib/util_names.c
@@ -63,8 +63,7 @@ static bool set_my_netbios_names(const char *name, int i)
smb_my_netbios_names[i] = SMB_STRDUP(name);
if (!smb_my_netbios_names[i])
return False;
- strupper_m(smb_my_netbios_names[i]);
- return True;
+ return strupper_m(smb_my_netbios_names[i]);
}
/***********************************************************************