diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/cmd_lua.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cmd/cmd_lua.c b/cmd/cmd_lua.c index 2c850be..8127af6 100644 --- a/cmd/cmd_lua.c +++ b/cmd/cmd_lua.c @@ -140,17 +140,12 @@ int lua_excute(const char *fname, rpc_call_request *req, rpc_call_response **res int r_id; size_t sz; - check_table_key_string(L, "result", (const char **)&r_result, &sz); - //printf("RESULT:%s\n", r_result); check_table_key_integer(L, "id", &r_id); - //printf("ID:%d\n", r_id); check_table_key_string(L, "error", (const char **)&r_error, &sz); - //printf("ERROR:%s\n", r_error); - if (r_result == NULL) r_result = "!"; if (r_error == NULL) r_error = "!"; *resp = rpc_call_resp_new(alloc_new_str(r_result), alloc_new_str(r_error), r_id); |