Allowing NULL filename in cupsDoFileRequest() enables cups-pk-helper to add raw printers. These don't have PPDs. CUPS is able to handle the situation when we do cupsDoFileRequest() with filename = NULL but it doesn't do the same when we pass there an empty string (""). The patch detects that an empty string is passed as filename and uses NULL instead of it. Marek Additional info: This enables us to rename raw printers in gnome-control-center's Printers panel (see https://bugzilla.gnome.org/show_bug.cgi?id=649511).
Missing patch? :-)
Created attachment 47025 [details] [review] allow adding of printers without PPD Yes, you are right, there should be a patch :). Here it is. Marek
Thanks, committed! I've changed the indentation :-)
FWIW, I released 0.1.3 :-)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.