1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-21 12:23:50 +03:00

r7911: task_terminate() is defined in the macosx headers, so change the name

to task_server_terminate()
This commit is contained in:
Andrew Tridgell
2005-06-25 23:53:14 +00:00
committed by Gerald (Jerry) Carter
parent d2e9e95ea2
commit a7447e25ac
7 changed files with 23 additions and 23 deletions

View File

@@ -29,11 +29,11 @@
/*
terminate a task service
*/
void task_terminate(struct task_server *task, const char *reason)
void task_server_terminate(struct task_server *task, const char *reason)
{
struct event_context *event_ctx = task->event_ctx;
const struct model_ops *model_ops = task->model_ops;
DEBUG(0,("task_terminate: [%s]\n", reason));
DEBUG(0,("task_server_terminate: [%s]\n", reason));
talloc_free(task);
model_ops->terminate(event_ctx, reason);
}
@@ -63,7 +63,7 @@ static void task_server_callback(struct event_context *event_ctx, uint32_t serve
task->msg_ctx = messaging_init(task, task->server_id, task->event_ctx);
if (!task->msg_ctx) {
task_terminate(task, "messaging_init() failed");
task_server_terminate(task, "messaging_init() failed");
return;
}