diff options
author | Gerald Carter <jerry@samba.org> | 2002-11-09 14:48:27 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-11-09 14:48:27 +0000 |
commit | 4be3750d8e5edb849cf946def10891e0d4dd16d0 (patch) | |
tree | a2af152220ddd2c4d16a7e9cf95b2df1b18c9ddd /source3/rpc_server | |
parent | b3f55b37a09551b6e782e58b3339b9caa4086d6d (diff) | |
download | samba-4be3750d8e5edb849cf946def10891e0d4dd16d0.tar.gz samba-4be3750d8e5edb849cf946def10891e0d4dd16d0.tar.bz2 samba-4be3750d8e5edb849cf946def10891e0d4dd16d0.zip |
deldriver fix
(This used to be commit f20de1f9b0dcac15fbf968e6d5d5af2fdd5fbda1)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 5ebefc5ea0..f8262110ce 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -1908,6 +1908,12 @@ WERROR _spoolss_deleteprinterdriver(pipes_struct *p, SPOOL_Q_DELETEPRINTERDRIVER goto done; } } + /* otherwise it was a failure */ + else { + status = WERR_UNKNOWN_PRINTER_DRIVER; + goto done; + } + } if (printer_driver_in_use(info.info_3)) { |