diff options
author | Volker Lendecke <vl@samba.org> | 2012-12-06 15:51:55 +0100 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2012-12-07 11:29:36 +0100 |
commit | 0fa31296864cd2b0c64c33ac74d55178ad542f90 (patch) | |
tree | 232e1c31535cc18f8ae6ccebef33bf590542b072 | |
parent | f8056b7a6998e002f473b0ad79eee046236a7032 (diff) | |
download | samba-0fa31296864cd2b0c64c33ac74d55178ad542f90.tar.gz samba-0fa31296864cd2b0c64c33ac74d55178ad542f90.tar.bz2 samba-0fa31296864cd2b0c64c33ac74d55178ad542f90.zip |
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
-rw-r--r-- | source3/smbd/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index eeda6f99f2..f89ca02aea 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -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))); |