From 133d41d43dfec5a750cc41cf4daadb8e25fce6b3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 1 Jul 2005 12:14:42 +0000 Subject: r8052: that looks nicer:-) metze (This used to be commit dad0371a9fea0de080650cb081beafdaa773ceda) --- source4/rpc_server/spoolss/dcesrv_spoolss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit