summaryrefslogtreecommitdiff
path: root/source3/printing/nt_printing.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-06-04 23:44:33 +0000
committerAndrew Tridgell <tridge@samba.org>2000-06-04 23:44:33 +0000
commitdcecbc52a9f8f6baf04298adf373407e3e149cd1 (patch)
tree3b7275cab9d46b13d81840b36cc56a44020c2cb5 /source3/printing/nt_printing.c
parentd48c727c97becb44da15211152fc702e1978622e (diff)
downloadsamba-dcecbc52a9f8f6baf04298adf373407e3e149cd1.tar.gz
samba-dcecbc52a9f8f6baf04298adf373407e3e149cd1.tar.bz2
samba-dcecbc52a9f8f6baf04298adf373407e3e149cd1.zip
we no longer need the code to cope with setprinter having corrupted
data (This used to be commit c602b703a05b94748a890add751f47fc6b539c60)
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r--source3/printing/nt_printing.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 1aa41b856a..1b38c6e72c 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -1081,12 +1081,6 @@ static uint32 get_a_printer_2(NT_PRINTER_INFO_LEVEL_2 **info_ptr, fstring sharen
nt_printing_getsec(sharename, &info.secdesc_buf);
- /* the following should not be necessary - why are these values
- getting corrupted? */
- fstrcpy(info.printprocessor, "winprint");
- fstrcpy(info.datatype, "RAW");
- fstrcpy(info.parameters,"");
-
safe_free(dbuf.dptr);
*info_ptr=memdup(&info, sizeof(info));