diff options
author | Luke Leighton <lkcl@samba.org> | 2000-05-27 02:05:15 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 2000-05-27 02:05:15 +0000 |
commit | 682cccd8af4008b508328672009a5bfc1344f55d (patch) | |
tree | b9891716e3597906d11b72b2481d75e0db6f758c /source3/rpc_server | |
parent | 54695647ef52558e5f83744898b7c5c95c9fed5a (diff) | |
download | samba-682cccd8af4008b508328672009a5bfc1344f55d.tar.gz samba-682cccd8af4008b508328672009a5bfc1344f55d.tar.bz2 samba-682cccd8af4008b508328672009a5bfc1344f55d.zip |
unistr_to_dos not unistr_to_ascii
(This used to be commit f46c4fe876a0cabe7044ca30c17e6c217d618635)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 90a3a3e632..f974311c71 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -587,8 +587,8 @@ static BOOL convert_printer_driver_info(const SPOOL_PRINTER_DRIVER_INFO_LEVEL *u static BOOL convert_devicemode(DEVICEMODE devmode, NT_DEVICEMODE *nt_devmode) { - unistr_to_ascii(nt_devmode->devicename, (char *)devmode.devicename.buffer, 31); - unistr_to_ascii(nt_devmode->formname, (char *)devmode.formname.buffer, 31); + unistr_to_dos(nt_devmode->devicename, (char *)devmode.devicename.buffer, 31); + unistr_to_dos(nt_devmode->formname, (char *)devmode.formname.buffer, 31); nt_devmode->specversion=devmode.specversion; nt_devmode->driverversion=devmode.driverversion; |