diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/spoolss/dcesrv_spoolss.c | 2 |
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()); |