s3-spoolss: Use a global variable for the pool
authorSimo Sorce <idra@samba.org>
Mon, 8 Aug 2011 18:15:14 +0000 (14:15 -0400)
committerAndreas Schneider <asn@samba.org>
Wed, 10 Aug 2011 16:14:05 +0000 (18:14 +0200)
commit6f682be2ae27d0f6b087a315a10f3c02cc385b66
treef78b915c3018e2da8be4763d64eb596cb0c28c86
parentb2f682a8e638433df7ae2b5afdd0a57f03d56ccb
s3-spoolss: Use a global variable for the pool

This allows for setting up signal handlers earlier which is needed
for the following patch. It also simplify the code in a few places.
After all we never have more than pool active at any time during
spoolssd life span.

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