summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-11-09 05:42:37 +0000
committerGerald Carter <jerry@samba.org>2002-11-09 05:42:37 +0000
commit2d08c914d782087ab0360aed9387ec1524d273d6 (patch)
treecb8c70223d5a4059e00659b49c1cacf2c09fc3e6
parentd7fd0d940968b8b8c9f68c5d07e43c6c209278aa (diff)
downloadsamba-2d08c914d782087ab0360aed9387ec1524d273d6.tar.gz
samba-2d08c914d782087ab0360aed9387ec1524d273d6.tar.bz2
samba-2d08c914d782087ab0360aed9387ec1524d273d6.zip
re-enable ffpcn on print server handle
(This used to be commit 47a0c68fa9e98ab761e609d889894db1de9520db)
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
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;