summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-02-25 20:51:23 +0000
committerGerald Carter <jerry@samba.org>2003-02-25 20:51:23 +0000
commit7c7d796b6d292a7c98b099ad1e1adbc4f2363512 (patch)
treecbd12e1a85aa8f470a598e87be47c7be097895fe /source3/rpc_parse
parent3a2f56cb630a7566ef0a70052b3102651bf653cc (diff)
downloadsamba-7c7d796b6d292a7c98b099ad1e1adbc4f2363512.tar.gz
samba-7c7d796b6d292a7c98b099ad1e1adbc4f2363512.tar.bz2
samba-7c7d796b6d292a7c98b099ad1e1adbc4f2363512.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. (This used to be commit 33c7b7522504fb15989f32add8e9a087c8d9d0fa)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index fb2aaf71ec..a34740f9ff 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/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))