From: Daniel Gruno Date: Sun, 26 Aug 2012 17:01:21 +0000 (+0000) Subject: Add 'server' to scope_to_string's list of possible suspects, as to avoid an error... X-Git-Tag: 2.5.0-alpha~6382 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99afa833627046df33ad074a04b897ef4ba73f2e;p=thirdparty%2Fapache%2Fhttpd.git Add 'server' to scope_to_string's list of possible suspects, as to avoid an error when LogLevel is trace git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1377457 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/lua/mod_lua.c b/modules/lua/mod_lua.c index b9f48343e4f..39b2fdc7b21 100644 --- a/modules/lua/mod_lua.c +++ b/modules/lua/mod_lua.c @@ -102,6 +102,8 @@ static const char *scope_to_string(unsigned int scope) #if APR_HAS_THREADS case AP_LUA_SCOPE_THREAD: return "thread"; + case AP_LUA_SCOPE_SERVER: + return "server"; #endif default: ap_assert(0);