summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-07-01 12:14:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:03 -0500
commit133d41d43dfec5a750cc41cf4daadb8e25fce6b3 (patch)
tree1fa428b15faac5d6bf192156163f262f1b9df1f0 /source4/rpc_server
parent361d126d01d45053beb2582e01bc9e1fff6ad3db (diff)
downloadsamba-133d41d43dfec5a750cc41cf4daadb8e25fce6b3.tar.gz
samba-133d41d43dfec5a750cc41cf4daadb8e25fce6b3.tar.bz2
samba-133d41d43dfec5a750cc41cf4daadb8e25fce6b3.zip
r8052: that looks nicer:-)
metze (This used to be commit dad0371a9fea0de080650cb081beafdaa773ceda)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/spoolss/dcesrv_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.c b/source4/rpc_server/spoolss/dcesrv_spoolss.c
index dfa935b750..c15a7f1d8a 100644
--- a/source4/rpc_server/spoolss/dcesrv_spoolss.c
+++ b/source4/rpc_server/spoolss/dcesrv_spoolss.c
@@ -172,7 +172,7 @@ static WERROR spoolss_check_server_name(struct dcesrv_call_state *dce_call,
/* DNS NAME is ok
* TODO: we need to check if aliases are also ok
*/
- if (lp_realm() != NULL) {
+ if (lp_realm()) {
str = talloc_asprintf(mem_ctx, "%s.%s",
lp_netbios_name(),
lp_realm());