r12883: Fix the build...
authorAndrew Bartlett <abartlet@samba.org>
Fri, 13 Jan 2006 02:01:15 +0000 (02:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:50:57 +0000 (13:50 -0500)
Andrew Bartlett
(This used to be commit 8f7d14048fe29fd2c8b3e3c7aa73b4a854615016)

source4/libnet/libnet_join.c

index 65d264d0f30e15a258fb66dc575f25ff49bbb23e..f7f285130926754d6e76a897f3f8e8da23800659 100644 (file)
@@ -1158,7 +1158,7 @@ static NTSTATUS libnet_Join_primary_domain(struct libnet_context *ctx,
                return NT_STATUS_INVALID_PARAMETER;
        }
 
-       if (r->in.netbios_name != NULL)
+       if (r->in.netbios_name != NULL) {
                netbios_name = r->in.netbios_name;
        } else {
                netbios_name = talloc_reference(tmp_mem, lp_netbios_name());
@@ -1442,5 +1442,3 @@ NTSTATUS libnet_Join(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, struct lib
                                              r->in.secure_channel_type, r->in.domain_name);
        return NT_STATUS_INVALID_PARAMETER;
 }
-
-