diff options
author | Volker Lendecke <vl@samba.org> | 2011-12-13 11:02:21 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-12-13 12:35:08 +0100 |
commit | 62249f755a333f9265395a292af5b8a31b6825ad (patch) | |
tree | d52cecdcc9b7f5927222146ab78006ca28330caf /source3/smbd | |
parent | 7b60729d5a37a2427e35b87990058c23c8155c9d (diff) | |
download | samba-62249f755a333f9265395a292af5b8a31b6825ad.tar.gz samba-62249f755a333f9265395a292af5b8a31b6825ad.tar.bz2 samba-62249f755a333f9265395a292af5b8a31b6825ad.zip |
s3: Use pid_to_procid
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 13 12:35:09 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/server.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index e7a7d31527..cc51979c34 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -274,8 +274,7 @@ static void remove_child_pid(struct tevent_context *ev_ctx, } } - child_id = procid_self(); /* Just initialize pid and potentially vnn */ - child_id.pid = pid; + child_id = pid_to_procid(pid); if (!serverid_deregister(child_id)) { DEBUG(1, ("Could not remove pid %d from serverid.tdb\n", |