summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_single.c1
-rw-r--r--source4/smbd/service_task.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/smbd/process_single.c b/source4/smbd/process_single.c
index 0a1e2a6103..8d26481a95 100644
--- a/source4/smbd/process_single.c
+++ b/source4/smbd/process_single.c
@@ -74,6 +74,7 @@ static void single_new_task(struct event_context *ev,
/* called when a task goes down */
static void single_terminate(struct event_context *ev, const char *reason)
{
+ DEBUG(2,("single_terminate: reason[%s]\n",reason));
}
static const struct model_ops single_ops = {
diff --git a/source4/smbd/service_task.c b/source4/smbd/service_task.c
index 8f2255cf3e..68aba69019 100644
--- a/source4/smbd/service_task.c
+++ b/source4/smbd/service_task.c
@@ -32,6 +32,7 @@ void task_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));
talloc_free(task);
model_ops->terminate(event_ctx, reason);
}