diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-12-14 09:50:24 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-12-14 12:00:07 +0100 |
commit | e3e56e209fdb878d540c3f7041837a96fd5743f6 (patch) | |
tree | d96b6e7fd66e3321ec6bd90b90c3689beb263be2 /source3/smbd | |
parent | 95384d11a3640e67712dd29939eceace80473203 (diff) | |
download | samba-e3e56e209fdb878d540c3f7041837a96fd5743f6.tar.gz samba-e3e56e209fdb878d540c3f7041837a96fd5743f6.tar.bz2 samba-e3e56e209fdb878d540c3f7041837a96fd5743f6.zip |
s3:smbd/conn_msg: use talloc_get_type_abort() as private_data can't be NULL
metze
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); } |