s3-spoolss: fix return code of spoolss_DeletePrinter.
authorGünther Deschner <gd@samba.org>
Thu, 18 Feb 2010 01:14:26 +0000 (02:14 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 18 Feb 2010 01:19:59 +0000 (02:19 +0100)
commit43e3d8f51da4bbdb3108af45e2fddab7e2e91f04
treeafd6e62e27dccf412862fc310b8855f932a64c72
parent8ce66fba03f782c0b9948a9835bb488cfa74acf9
s3-spoolss: fix return code of spoolss_DeletePrinter.

When the printer has been removed by the "deleteprinter command", we need to
check if it is still there and then fail, not fail if we successfully removed
it (found by RPC-SPOOLSS-PRINTER).

Guenther
source3/rpc_server/srv_spoolss_nt.c