From dcecbc52a9f8f6baf04298adf373407e3e149cd1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 4 Jun 2000 23:44:33 +0000 Subject: we no longer need the code to cope with setprinter having corrupted data (This used to be commit c602b703a05b94748a890add751f47fc6b539c60) --- source3/printing/nt_printing.c | 6 ------ 1 file changed, 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)); -- cgit