summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
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
commit23b3b29eec61860155404333f6e70ebd24b50940 (patch)
treebe9a2981266cc1cce4e9144bb5a77ed0f364a830 /source3/rpc_parse
parentb8fbb3189a8b55ddc87f9b52b1c00d1acbb37e72 (diff)
downloadsamba-23b3b29eec61860155404333f6e70ebd24b50940.tar.gz
samba-23b3b29eec61860155404333f6e70ebd24b50940.tar.bz2
samba-23b3b29eec61860155404333f6e70ebd24b50940.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 31272d3b6bb9ec62fd666301c7adfa0c1720a99b)
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))