diff options
author | Gerald Carter <jerry@samba.org> | 2002-08-22 21:16:11 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-08-22 21:16:11 +0000 |
commit | 2bd75e4714f664a4cddf406a18f665b5cd590f29 (patch) | |
tree | 8c3fd886a9d5668ac47b98795adc96ad31990587 /source3/rpc_server | |
parent | 02f8ed71103ca57135980a203d99785a97563455 (diff) | |
download | samba-2bd75e4714f664a4cddf406a18f665b5cd590f29.tar.gz samba-2bd75e4714f664a4cddf406a18f665b5cd590f29.tar.bz2 samba-2bd75e4714f664a4cddf406a18f665b5cd590f29.zip |
fix registry editor API for printing backend after I changed
the NT_PRINTER_PARAM to a REGISTRY_VALUE
(This used to be commit 8d510abe125e15a8d71c58a13d170dc3d6371368)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index a9c09b9107..1c60e7024e 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -7925,7 +7925,6 @@ WERROR _spoolss_setprinterdataex(pipes_struct *p, SPOOL_Q_SETPRINTERDATAEX *q_u, fstring valuename; fstring keyname; char *oid_string; - UNISTR2 uni_oid; DEBUG(4,("_spoolss_setprinterdataex\n")); @@ -7988,9 +7987,8 @@ WERROR _spoolss_setprinterdataex(pipes_struct *p, SPOOL_Q_SETPRINTERDATAEX *q_u, * this is right. --jerry */ - init_unistr2( &uni_oid, oid_string, strlen(oid_string)+1 ); set_printer_dataex( printer, keyname, valuename, - REG_SZ, (void*)uni_oid.buffer, uni_oid.uni_str_len*sizeof(uint16) ); + REG_SZ, (void*)oid_string, strlen(oid_string)+1 ); } free_a_printer(&printer, 2); |