diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/close.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c index 09d8905c17..9eedaf9e66 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -1137,13 +1137,9 @@ void msg_close_file(struct messaging_context *msg_ctx, files_struct *fsp = NULL; struct share_mode_entry e; struct smbd_server_connection *sconn = - talloc_get_type(private_data, + talloc_get_type_abort(private_data, struct smbd_server_connection); - if (sconn == NULL) { - return; - } - message_to_share_mode_entry(&e, (char *)data->data); if(DEBUGLVL(10)) { |