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