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

request.c: Use errno only if it is non-zero (fixes #893) #1009

Merged
merged 1 commit into from
Jul 24, 2024

Commits on Jul 23, 2024

  1. Rework setting HTTP errors in CUPS (fixes OpenPrinting#893)

    Sometimes errno is not set when we want to report HTTP error, so we
    should use `http->error` if available or internal server error. In cases
    of internal HTTP related errors where we don't have HTTP connection
    available (before setting of HTTP connection or in callbacks which
    process IPP messages), use `_cupsSetError()`.
    
    Fixes OpenPrinting#893
    zdohnal committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    8643c97 View commit details
    Browse the repository at this point in the history