Skip to content
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
Closed

Trying to print a directory produces null message #1578

michaelrsweet opened this issue Apr 20, 2006 · 2 comments
Labels
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

@michaelrsweet 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
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Apr 21, 2006

CUPS.org User: mike

Fixed in Subversion repository.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.