diff options
author | Gerald Carter <jerry@samba.org> | 2002-11-09 05:41:27 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-11-09 05:41:27 +0000 |
commit | b3f55b37a09551b6e782e58b3339b9caa4086d6d (patch) | |
tree | 0fda4ab7ac419b6d7d3bee0baaa24e530ceac1b6 /source3/rpc_server | |
parent | 5d81628512d92f1d997fdb5bec21818135384d7b (diff) | |
download | samba-b3f55b37a09551b6e782e58b3339b9caa4086d6d.tar.gz samba-b3f55b37a09551b6e782e58b3339b9caa4086d6d.tar.bz2 samba-b3f55b37a09551b6e782e58b3339b9caa4086d6d.zip |
re-enable ffpcn on print server handle
(This used to be commit e87829b4942237de542d21051092fee069a9c73d)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 245df2003f..5ebefc5ea0 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -2477,7 +2477,7 @@ WERROR _spoolss_rffpcnex(pipes_struct *p, SPOOL_Q_RFFPCNEX *q_u, SPOOL_R_RFFPCNE return WERR_BADFID; } - if (!get_printer_snum(p, handle, &snum)) + if ( (Printer->printer_type == PRINTER_HANDLE_IS_PRINTER) && !get_printer_snum(p, handle, &snum) ) return WERR_BADFID; Printer->notify.flags=flags; |