s3-spoolss: Introduce helper function to manage pool.
authorSimo Sorce <idra@samba.org>
Fri, 12 Aug 2011 16:24:48 +0000 (12:24 -0400)
committerSimo Sorce <idra@samba.org>
Sun, 21 Aug 2011 13:05:04 +0000 (09:05 -0400)
commit0647a93c64ce5d87527d6c9e34688f93e7cd03b3
tree33404b51a1f3e310f3a0092a00687bf18c92ce63
parent2a0aac0adcdccc165f5d511d7a1c1d6d0c5d7c9b
s3-spoolss: Introduce helper function to manage pool.

We were not properly managing allowed clients and pool management was
duplicated across a few callers.
Concentrate all management heuristics in one single function.

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