diff options
author | Gerald Carter <jerry@samba.org> | 2003-02-21 17:08:43 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-02-21 17:08:43 +0000 |
commit | ab985b983f45a284b2ee9fdd08801989574edf4b (patch) | |
tree | 740fdd41d1a89105cc068704ed9163b5c471890c /source3/rpc_parse | |
parent | 193f9200aa4ea692e9126f3df68a5cb83e3a4056 (diff) | |
download | samba-ab985b983f45a284b2ee9fdd08801989574edf4b.tar.gz samba-ab985b983f45a284b2ee9fdd08801989574edf4b.tar.bz2 samba-ab985b983f45a284b2ee9fdd08801989574edf4b.zip |
couple of merges from APP_HEAD
* performance optimization in enumprinterdataex() when keyname is empty
* fix a few typos in comments
* reload services after addprinter_command()
dump registry data in ascii when the key is REG_SZ or REG_MULTI_SZ
(This used to be commit fde6ef7cc62c58d512dc8053b214f0a3c59a78ab)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_spoolss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c index cb3b2efd9d..fb2aaf71ec 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(False,"data", ps, depth, r_u->data, r_u->size)) + if (!prs_uint8s( r_u->type&(REG_SZ|REG_MULTI_SZ), "data", ps, depth, r_u->data, r_u->size )) return False; if (!prs_align(ps)) |