Ticket #26336: channels-rdpdr-printer-printer_cups.c.diff

File channels-rdpdr-printer-printer_cups.c.diff, 575 bytes (added by rudloff@…, 13 years ago)
  • (a) /Users/pierre/Desktop/FreeRDP-FreeRDP-42735c4/channels/rdpdr/printer/printer_cups vs. (b) channels/rdpdr/printer/printer_cups.c

    a b  
    109109                char buf[100];
    110110
    111111                printer_cups_get_printjob_name(buf, sizeof(buf));
    112                 if (cupsPrintFile(printjob->printer->name, (const char *)cups_printjob->printjob_object, buf, 0, NULL) == 0)
    113                 {
    114                         DEBUG_WARN("cupsPrintFile: %s", cupsLastErrorString());
    115                 }
    116112                unlink(cups_printjob->printjob_object);
    117113                xfree(cups_printjob->printjob_object);
    118114        }