
cherokee at cherokee-project
Nov 15, 2009, 9:30 AM
Post #1 of 1
(113 views)
Permalink
|
|
[3819] cherokee/trunk/cherokee: Replaces an old PRINT_ERROR() call by a LOG_ERROR().
|
|
Revision: 3819 http://svn.cherokee-project.com/changeset/3819 Author: alo Date: 2009-11-15 18:30:44 +0100 (Sun, 15 Nov 2009) Log Message: ----------- Replaces an old PRINT_ERROR() call by a LOG_ERROR(). Modified Paths: -------------- cherokee/trunk/cherokee/error_list.py cherokee/trunk/cherokee/validator.c Modified: cherokee/trunk/cherokee/error_list.py =================================================================== --- cherokee/trunk/cherokee/error_list.py 2009-11-15 17:30:39 UTC (rev 3818) +++ cherokee/trunk/cherokee/error_list.py 2009-11-15 17:30:44 UTC (rev 3819) @@ -128,6 +128,13 @@ desc = "This validation modules reads a local file in order to get the authorizated user list. The configuration specifies. Please try to reconfigure the details and ensure a filename is provided.") +# cherokee/validator.c +# +e('VALIDATOR_METHOD_UNKNOWN', + title = "Unknown authentication method '%s'", + desc = BROKEN_CONFIG) + + # cherokee/downloader.c # e('DOWNLOADER_OVERWRITE_POST', Modified: cherokee/trunk/cherokee/validator.c =================================================================== --- cherokee/trunk/cherokee/validator.c 2009-11-15 17:30:39 UTC (rev 3818) +++ cherokee/trunk/cherokee/validator.c 2009-11-15 17:30:44 UTC (rev 3819) @@ -404,8 +404,8 @@ else if (equal_str (method, "digest")) entry->authentication |= http_auth_digest; else { - PRINT_MSG ("ERROR: Unknown authentication method '%s'\n", method); - return ret_error; + LOG_ERROR (CHEROKEE_ERROR_VALIDATOR_METHOD_UNKNOWN, method); + return ret_error; } return ret_ok;
|