summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-12-13 11:02:21 +0100
committerVolker Lendecke <vlendec@samba.org>2011-12-13 12:35:08 +0100
commit62249f755a333f9265395a292af5b8a31b6825ad (patch)
treed52cecdcc9b7f5927222146ab78006ca28330caf /source3/smbd
parent7b60729d5a37a2427e35b87990058c23c8155c9d (diff)
downloadsamba-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.c3
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",