summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse/parse_spoolss.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-02-25 20:53:53 +0000
committerGerald Carter <jerry@samba.org>2003-02-25 20:53:53 +0000
commit31272d3b6bb9ec62fd666301c7adfa0c1720a99b (patch)
treec99c3a908739a1dd7bd66ff6b831a3ee1d8715f0 /source/rpc_parse/parse_spoolss.c
parent9634b1fba059228d436198629a5c7cf01fb6736c (diff)
downloadsamba-31272d3b6bb9ec62fd666301c7adfa0c1720a99b.tar.gz
samba-31272d3b6bb9ec62fd666301c7adfa0c1720a99b.tar.xz
samba-31272d3b6bb9ec62fd666301c7adfa0c1720a99b.zip
Progress on CR 601
cache the printer_info_2 with the open printer handle. cache is invalidated on a mod_a_printer() call **on that smbd**. Yes, this means that the window for admins to step on each other from different clients just got larger, but since handles a generally short lived this is probably ok.
Diffstat (limited to 'source/rpc_parse/parse_spoolss.c')
-rw-r--r--source/rpc_parse/parse_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_parse/parse_spoolss.c b/source/rpc_parse/parse_spoolss.c
index fb2aaf71ecb..a34740f9ff3 100644
--- a/source/rpc_parse/parse_spoolss.c
+++ b/source/rpc_parse/parse_spoolss.c
@@ -1372,7 +1372,7 @@ BOOL spoolss_io_r_getprinterdata(const char *desc, SPOOL_R_GETPRINTERDATA *r_u,
return False;
}
- if (!prs_uint8s( r_u->type&(REG_SZ|REG_MULTI_SZ), "data", ps, depth, r_u->data, r_u->size ))
+ if (!prs_uint8s( False, "data", ps, depth, r_u->data, r_u->size ))
return False;
if (!prs_align(ps))