From 8015f0d53da53876b65fdcdc712f1dc92835a9b1 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 11 Jan 2010 08:29:17 +0000 Subject: Minor fixes to server and python evaluator to get python store working. Some changes to python and scheme store test cases to simplify them a bit and make them consistent. Enabled a few more server test combinations. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@897785 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/server/mod-eval.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-cpp/trunk/modules/server/mod-eval.cpp') diff --git a/sca-cpp/trunk/modules/server/mod-eval.cpp b/sca-cpp/trunk/modules/server/mod-eval.cpp index 34c1f00cba..23454e3ceb 100644 --- a/sca-cpp/trunk/modules/server/mod-eval.cpp +++ b/sca-cpp/trunk/modules/server/mod-eval.cpp @@ -100,7 +100,7 @@ const failable get(request_rec* r, const lambda&)>& // Extract the request id, method and params const value id = cadr(ia); - const value func = c_str(string(cadr(ma))); + const value func = c_str(json::funcName(string(cadr(ma)))); // Apply the requested function const failable val = failableResult(impl(cons(func, httpd::queryParams(args)))); @@ -145,7 +145,7 @@ const failable post(request_rec* r, const lambda&)> // Extract the request id, method and params const value id = cadr(assoc(value("id"), args)); - const value func = c_str(cadr(assoc(value("method"), args))); + const value func = c_str(json::funcName(cadr(assoc(value("method"), args)))); const list params = (list)cadr(assoc(value("params"), args)); // Evaluate the request expression -- cgit v1.2.3