diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/conn_msg.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/smbd/conn_msg.c b/source3/smbd/conn_msg.c index 96171e2aa1..46161cca4c 100644 --- a/source3/smbd/conn_msg.c +++ b/source3/smbd/conn_msg.c @@ -38,12 +38,8 @@ void msg_force_tdis(struct messaging_context *msg, { const char *sharename = (const char *)data->data; struct smbd_server_connection *sconn = - talloc_get_type(private_data, + talloc_get_type_abort(private_data, struct smbd_server_connection); - if (sconn == NULL) { - return; - } - conn_force_tdis(sconn, sharename); } |