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

Add reasons before returning declined in mod_dialup #183

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

byshen
Copy link

@byshen byshen commented May 1, 2021

  • modules/test/mod_dialup.c : apr_file_open() may fail in the dialup handler, so leave a log message before simply return declined.

@@ -181,6 +181,9 @@ dialup_handler(request_rec *r)
, 0, r->pool);

if (rv) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should log the rv rather than passing 0?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated it. Thanks!

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