1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r5141: fix compiler warnings

metze
(This used to be commit 12b0841b30)
This commit is contained in:
Stefan Metzmacher 2005-01-31 16:36:17 +00:00 committed by Gerald (Jerry) Carter
parent 4c6bcb0c05
commit 65db148d87
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);