1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

s3: Fix clear_if_first for the async echo handler

A worker smbd is as not long-lived as the main smbd, but as the async
echo handler exits when the worker smbd does, passing "true" here is the
right thing to do and fixes our clear_if_first handling when the async
echo handler is active.

Reviewed-by: Christian Ambach <ambi@samba.org>

Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Fri Dec  7 11:29:36 CET 2012 on sn-devel-104
This commit is contained in:
Volker Lendecke 2012-12-06 15:51:55 +01:00 committed by Christian Ambach
parent f8056b7a69
commit 0fa3129686

View File

@ -3068,7 +3068,7 @@ bool fork_echo_handler(struct smbd_server_connection *sconn)
status = reinit_after_fork(sconn->msg_ctx,
sconn->ev_ctx,
false);
true);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("reinit_after_fork failed: %s\n",
nt_errstr(status)));