diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2014-07-20 09:32:58 +0000 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2014-07-20 09:32:58 +0000 |
commit | 56d0c257250cb6806b2b348c66d560c988a09ffd (patch) | |
tree | 1cd4b9857bd6539263e14b2460014fa7a8157b1c /modules/lua/mod_lua.c | |
parent | cb675cd07641bb8c9ae6e83ed9678565cb647581 (diff) | |
download | httpd-56d0c257250cb6806b2b348c66d560c988a09ffd.tar.gz |
Add missing APLOGNO.
Refactor some lines to keep APLOGNO on the same line as ap_log_error, when applicable.
Split lines longer than 80.
Improve alignment.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612068 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/lua/mod_lua.c')
-rw-r--r-- | modules/lua/mod_lua.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/lua/mod_lua.c b/modules/lua/mod_lua.c index 11cbd2b910..c8a314a16e 100644 --- a/modules/lua/mod_lua.c +++ b/modules/lua/mod_lua.c @@ -500,9 +500,9 @@ static apr_status_t lua_output_filter_handle(ap_filter_t *f, apr_bucket_brigade ap_remove_output_filter(f); apr_brigade_cleanup(pbbIn); apr_brigade_cleanup(ctx->tmpBucket); - ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, - "lua: Error while executing filter: %s", - lua_tostring(L, -1)); + ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(02663) + "lua: Error while executing filter: %s", + lua_tostring(L, -1)); return HTTP_INTERNAL_SERVER_ERROR; } } @@ -2001,7 +2001,7 @@ static int lua_post_config(apr_pool_t *pconf, apr_pool_t *plog, /* Create shared memory space */ rs = apr_temp_dir_get(&tempdir, pconf); if (rs != APR_SUCCESS) { - ap_log_error(APLOG_MARK, APLOG_ERR, rs, s, + ap_log_error(APLOG_MARK, APLOG_ERR, rs, s, APLOGNO(02664) "mod_lua IVM: Failed to find temporary directory"); return HTTP_INTERNAL_SERVER_ERROR; } @@ -2010,7 +2010,7 @@ static int lua_post_config(apr_pool_t *pconf, apr_pool_t *plog, rs = apr_shm_create(&lua_ivm_shm, sizeof(apr_pool_t**), (const char *) lua_ivm_shmfile, pconf); if (rs != APR_SUCCESS) { - ap_log_error(APLOG_MARK, APLOG_ERR, rs, s, + ap_log_error(APLOG_MARK, APLOG_ERR, rs, s, APLOGNO(02665) "mod_lua: Failed to create shared memory segment on file %s", lua_ivm_shmfile); return HTTP_INTERNAL_SERVER_ERROR; |