mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
parent
4c6bcb0c05
commit
65db148d87
@ -51,7 +51,7 @@ struct stream_socket {
|
||||
*/
|
||||
void stream_terminate_connection(struct stream_connection *srv_conn, const char *reason)
|
||||
{
|
||||
struct event_ctx *event_ctx = srv_conn->event.ctx;
|
||||
struct event_context *event_ctx = srv_conn->event.ctx;
|
||||
const struct model_ops *model_ops = srv_conn->model_ops;
|
||||
talloc_free(srv_conn);
|
||||
model_ops->terminate(event_ctx, reason);
|
||||
|
@ -30,7 +30,7 @@
|
||||
*/
|
||||
void task_terminate(struct task_server *task, const char *reason)
|
||||
{
|
||||
struct event_ctx *event_ctx = task->event_ctx;
|
||||
struct event_context *event_ctx = task->event_ctx;
|
||||
const struct model_ops *model_ops = task->model_ops;
|
||||
talloc_free(task);
|
||||
model_ops->terminate(event_ctx, reason);
|
||||
|
Loading…
Reference in New Issue
Block a user