diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/process.c | 2 | ||||
-rw-r--r-- | source3/smbd/server.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 0d17ad7f8c..3b3c1040ce 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -2886,7 +2886,7 @@ bool fork_echo_handler(struct smbd_server_connection *sconn) status = reinit_after_fork(sconn->msg_ctx, sconn->ev_ctx, - procid_self(), false); + false); if (!NT_STATUS_IS_OK(status)) { DEBUG(1, ("reinit_after_fork failed: %s\n", nt_errstr(status))); diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 1786be6590..31b6fcad83 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -451,7 +451,6 @@ static void smbd_accept_connection(struct tevent_context *ev, status = reinit_after_fork(msg_ctx, ev, - procid_self(), true); if (!NT_STATUS_IS_OK(status)) { if (NT_STATUS_EQUAL(status, @@ -1120,7 +1119,7 @@ extern void build_options(bool screen); status = reinit_after_fork(msg_ctx, ev_ctx, - procid_self(), false); + false); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("reinit_after_fork() failed\n")); exit(1); |