summaryrefslogtreecommitdiff
path: root/source/libcli/nbt
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-03 13:13:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:03:39 -0500
commit9b256a0ca232ea6e89771bf73a1adf877273a752 (patch)
treee76bb7f3820430a7abcc5386d4fe377c675050d7 /source/libcli/nbt
parenta42d0eb531e663304bea840d614b2f91f95dd818 (diff)
downloadsamba-9b256a0ca232ea6e89771bf73a1adf877273a752.tar.gz
r24937: Merge tests spoolss RPC callbacks.
Diffstat (limited to 'source/libcli/nbt')
-rw-r--r--source/libcli/nbt/nbtname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libcli/nbt/nbtname.c b/source/libcli/nbt/nbtname.c
index af3f62b987d..911eb0cb5fc 100644
--- a/source/libcli/nbt/nbtname.c
+++ b/source/libcli/nbt/nbtname.c
@@ -401,7 +401,7 @@ _PUBLIC_ void nbt_choose_called_name(TALLOC_CTX *mem_ctx,
n->scope = NULL;
n->type = type;
- if (is_ipaddress(name)) {
+ if (is_ipaddress(name) || name == NULL) {
n->name = "*SMBSERVER";
return;
}