diff options
author | Jeremy Allison <jra@samba.org> | 2000-06-20 23:58:56 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-06-20 23:58:56 +0000 |
commit | 69c75c8a165f05c01d13ba4eddbb970540e44b96 (patch) | |
tree | f509c0ff30d6f7550419302f199f5f65023d3cab /source3/rpc_server/srv_spoolss_nt.c | |
parent | a69d47640cb150fbffa12dee68ead34a5b1931bb (diff) | |
download | samba-69c75c8a165f05c01d13ba4eddbb970540e44b96.tar.gz samba-69c75c8a165f05c01d13ba4eddbb970540e44b96.tar.bz2 samba-69c75c8a165f05c01d13ba4eddbb970540e44b96.zip |
Fixes for Win2k "add printer driver" INFO_LEVEL_6 was wrong, also some
memory fixes.
Jeremy.
(This used to be commit 2a9e645cbddef1cddc5c978310b7efed492758d2)
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-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 90536daedf..8cff8d68d9 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -577,11 +577,11 @@ static BOOL convert_printer_driver_info(const SPOOL_PRINTER_DRIVER_INFO_LEVEL *u switch (level) { case 3: printer->info_3=NULL; - uni_2_asc_printer_driver_3(uni->info_3, &(printer->info_3)); + uni_2_asc_printer_driver_3(uni->info_3, &printer->info_3); break; case 6: printer->info_6=NULL; - uni_2_asc_printer_driver_6(uni->info_6, &(printer->info_6)); + uni_2_asc_printer_driver_6(uni->info_6, &printer->info_6); break; default: break; |