1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r8052: that looks nicer:-)

metze
(This used to be commit dad0371a9f)
This commit is contained in:
Stefan Metzmacher 2005-07-01 12:14:42 +00:00 committed by Gerald (Jerry) Carter
parent 361d126d01
commit 133d41d43d

View File

@ -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());