diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-31 23:16:50 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-28 07:36:18 +0200 |
commit | 790ad3d1a4d494f8e98883aa4e1c16777170e874 (patch) | |
tree | 8faec18500f0e8ee3edaf9903138787cfaa978b9 /source3 | |
parent | 886b5b67ee65a867bf8e4c345bc600dd7527de2a (diff) | |
download | samba-790ad3d1a4d494f8e98883aa4e1c16777170e874.tar.gz samba-790ad3d1a4d494f8e98883aa4e1c16777170e874.tar.bz2 samba-790ad3d1a4d494f8e98883aa4e1c16777170e874.zip |
s3: Remove two calls to procid_self()
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/process.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 9535d819dd..27f132e09c 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -2472,7 +2472,8 @@ static bool deadtime_fn(const struct timeval *now, void *private_data) return true; } DEBUG( 2, ( "Closing idle SMB2 connection\n" ) ); - messaging_send(sconn->msg_ctx, procid_self(), + messaging_send(sconn->msg_ctx, + messaging_server_id(sconn->msg_ctx), MSG_SHUTDOWN, &data_blob_null); return false; } @@ -2480,7 +2481,8 @@ static bool deadtime_fn(const struct timeval *now, void *private_data) if ((conn_num_open(sconn) == 0) || (conn_idle_all(sconn, now->tv_sec))) { DEBUG( 2, ( "Closing idle SMB1 connection\n" ) ); - messaging_send(sconn->msg_ctx, procid_self(), + messaging_send(sconn->msg_ctx, + messaging_server_id(sconn->msg_ctx), MSG_SHUTDOWN, &data_blob_null); return False; } |