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
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

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

CUPS.org User: mike

Fixed in Subversion repository.

@michaelrsweet
Copy link
Collaborator Author

"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);
    }

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

No branches or pull requests

1 participant