s3-prefork: Fix use of child id.
authorSimo Sorce <idra@samba.org>
Tue, 9 Aug 2011 20:44:52 +0000 (16:44 -0400)
committerAndreas Schneider <asn@samba.org>
Wed, 10 Aug 2011 16:14:05 +0000 (18:14 +0200)
commit7a071625581af876f8fd73b35a70eccd0d838208
tree3bff5dd01764fef08a856c17ab5385a8c1b885de
parentf00681fe9a78e5c0b02daff2fd83a568f8d95eff
s3-prefork: Fix use of child id.

Children Ids must start at 1 as 0 represent the father.
Also fix callbacks that restart logs to use a procedd global variable that
holds the Id so that they work correctly both fot the parent process and the
children.

Signed-off-by: Andreas Schneider <asn@samba.org>
source3/lib/server_prefork.c
source3/printing/spoolssd.c