New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to print a directory produces null message #1578

Closed
michaelrsweet opened this Issue Apr 20, 2006 · 2 comments

Comments

Projects
None yet
1 participant
@michaelrsweet
Collaborator

michaelrsweet commented Apr 20, 2006

Version: 1.2-current
CUPS.org User: jlovell

$ lp ~
lp: (null)

Attached is a patch for this particular problem but I see other _cupsSetError(XXX, NULL)calls that you may also want to fix.

I also see a few without _("message") localizations.

Thanks!

@michaelrsweet

This comment has been minimized.

Collaborator

michaelrsweet commented Apr 21, 2006

CUPS.org User: mike

Fixed in Subversion repository.

@michaelrsweet

This comment has been minimized.

Collaborator

michaelrsweet commented Apr 21, 2006

"request.c.patch":

Index: request.c

--- request.c (revision 5446)
+++ request.c (working copy)
@@ -118,7 +118,8 @@

   ippDelete(request);
  •  _cupsSetError(IPP_NOT_POSSIBLE, NULL);
    
  •  snprintf(buffer, sizeof(buffer), "\"%s\" %s", filename, strerror(EISDIR));
    
  •  _cupsSetError(IPP_NOT_POSSIBLE, buffer);
    

    return (NULL);
    }

@michaelrsweet michaelrsweet added this to the Stable milestone Mar 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment