librpc: Add a pair of {}
authorVolker Lendecke <vl@samba.org>
Sun, 20 Mar 2022 07:43:34 +0000 (08:43 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 27 Oct 2022 18:18:36 +0000 (18:18 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/librpc/rpc/dcerpc_connect.c

index 9a7b9aeb8d1eea41259a351756306c945e7139cc..69183a22875a6e4c5863440e5f5f0a53d8ebc3eb 100644 (file)
@@ -1036,8 +1036,9 @@ _PUBLIC_ struct composite_context* dcerpc_pipe_connect_b_send(TALLOC_CTX *parent
        s->pipe = dcerpc_pipe_init(c, ev);
        if (composite_nomem(s->pipe, c)) return c;
 
-       if (DEBUGLEVEL >= 10)
+       if (DEBUGLEVEL >= 10) {
                s->pipe->conn->packet_log_dir = lpcfg_lock_directory(lp_ctx);
+       }
 
        /* store parameters in state structure */
        s->binding      = dcerpc_binding_dup(s, binding);