we no longer need the code to cope with setprinter having corrupted
authorAndrew Tridgell <tridge@samba.org>
Sun, 4 Jun 2000 23:44:33 +0000 (23:44 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 4 Jun 2000 23:44:33 +0000 (23:44 +0000)
data
(This used to be commit c602b703a05b94748a890add751f47fc6b539c60)

source3/printing/nt_printing.c

index 1aa41b856adcef9f5cf597861e827252a50be766..1b38c6e72c9de072665852a4f101a9a0bfe719f4 100644 (file)
@@ -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));