projects
/
apache
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a433e37
)
exists_config_define should return a boolean, not a number, or it will always evaluat...
author
Daniel Gruno
<humbedooh@apache.org>
Fri, 19 Apr 2013 14:28:25 +0000
(14:28 +0000)
committer
Daniel Gruno
<humbedooh@apache.org>
Fri, 19 Apr 2013 14:28:25 +0000
(14:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1469844
13f79535
-47bb-0310-9956-
ffa450edef68
modules/lua/lua_request.c
patch
|
blob
|
history
diff --git
a/modules/lua/lua_request.c
b/modules/lua/lua_request.c
index f889c5e591a001540448654174b9303ab490dac0..aad4730ebc530de22d3304629dac1fe9f6c23280 100644
(file)
--- a/
modules/lua/lua_request.c
+++ b/
modules/lua/lua_request.c
@@
-1499,7
+1499,7
@@
static int lua_ap_exists_config_define(lua_State *L)
luaL_checktype(L, 1, LUA_TSTRING);
name = lua_tostring(L, 1);
returnValue = ap_exists_config_define(name);
- lua_push
integer
(L, returnValue);
+ lua_push
boolean
(L, returnValue);
return 1;
}