summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/server/mod-cpp.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/server/mod-cpp.hpp')
-rw-r--r--sca-cpp/trunk/modules/server/mod-cpp.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/server/mod-cpp.hpp b/sca-cpp/trunk/modules/server/mod-cpp.hpp
index 1321466383..54742306b0 100644
--- a/sca-cpp/trunk/modules/server/mod-cpp.hpp
+++ b/sca-cpp/trunk/modules/server/mod-cpp.hpp
@@ -46,7 +46,7 @@ namespace modcpp {
* Apply a C++ component implementation function.
*/
const list<value> failableResult(const value& func, const list<value>& v) {
- if (isNil(cdr(v)))
+ if (isNull(cdr(v)))
return v;
// Report a failure with an empty reason as 'function not supported'
@@ -69,7 +69,7 @@ const failable<lvvlambda > evalImplementation(const string& path, const value& i
// Configure the implementation's lambda function
const value ipath(attributeValue("path", impl));
const value iname(attributeValue("library", impl));
- const string fpath(isNil(ipath)? path + (string)iname : path + (string)ipath + "/" + (string)iname);
+ const string fpath(isNull(ipath)? path + (string)iname : path + (string)ipath + "/" + (string)iname);
const lib ilib(*(new (gc_new<lib>()) lib(fpath + dynlibExt)));
const failable<lvvlambda > fappl(dynlambda<const value(const list<value>&)>("apply", ilib));
if (!hasContent(fappl))