diff options
Diffstat (limited to 'source3/smbd/conn_msg.c')
-rw-r--r-- | source3/smbd/conn_msg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/conn_msg.c b/source3/smbd/conn_msg.c index b0c968a680..96171e2aa1 100644 --- a/source3/smbd/conn_msg.c +++ b/source3/smbd/conn_msg.c @@ -36,12 +36,12 @@ void msg_force_tdis(struct messaging_context *msg, struct server_id server_id, DATA_BLOB *data) { - struct smbd_server_connection *sconn; const char *sharename = (const char *)data->data; + struct smbd_server_connection *sconn = + talloc_get_type(private_data, + struct smbd_server_connection); - sconn = msg_ctx_to_sconn(msg); if (sconn == NULL) { - DEBUG(1, ("could not find sconn\n")); return; } |