From: Volker Lendecke Date: Sun, 20 Mar 2022 07:43:34 +0000 (+0100) Subject: librpc: Add a pair of {} X-Git-Tag: talloc-2.4.0~636 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e287dfe9ed553f60070f8b13934fcbc47f4160f9;p=thirdparty%2Fsamba.git librpc: Add a pair of {} Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source4/librpc/rpc/dcerpc_connect.c b/source4/librpc/rpc/dcerpc_connect.c index 9a7b9aeb8d1..69183a22875 100644 --- a/source4/librpc/rpc/dcerpc_connect.c +++ b/source4/librpc/rpc/dcerpc_connect.c @@ -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);