s3-spoolss: Dont wipe out all drivers when only one should be deleted.
commit5624aa8eafa9220d93db4bd47e6a383e9bca47ef
authorGünther Deschner <gd@samba.org>
Tue, 8 Feb 2011 16:19:23 +0000 (8 17:19 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 8 Feb 2011 18:17:52 +0000 (8 19:17 +0100)
tree79a25286517d6c4ea459e18fb95c75740bc5316f
parentabd4a396ca25433dfcbbffe76911baea065a706e
s3-spoolss: Dont wipe out all drivers when only one should be deleted.

Great catch from Bjoern Baumbach <bb@sernet.de> !

Andreas, Simo, please check.

We now have a torture test (rpc.spoolss.driver.driver.multiple_drivers) for this.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  8 18:11:48 CET 2011 on sn-devel-104
(cherry picked from commit 8b64d0607bc3b5e3182d8a879a7fa382dbdf0fc7)
source3/rpc_server/srv_spoolss_util.c