diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-03 13:13:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:03:39 -0500 |
commit | 9b256a0ca232ea6e89771bf73a1adf877273a752 (patch) | |
tree | e76bb7f3820430a7abcc5386d4fe377c675050d7 /source/libcli/nbt | |
parent | a42d0eb531e663304bea840d614b2f91f95dd818 (diff) | |
download | samba-9b256a0ca232ea6e89771bf73a1adf877273a752.tar.gz |
r24937: Merge tests spoolss RPC callbacks.
Diffstat (limited to 'source/libcli/nbt')
-rw-r--r-- | source/libcli/nbt/nbtname.c | 2 |
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; } |