Commit 097b4874 authored by Anmol Vatsa's avatar Anmol Vatsa

minor change in rpc_server

parent 25178977
......@@ -105,9 +105,7 @@ void *intercomm_rpc_server_handler(void *thread_data) {
}
case CONTROLLER_RPC__RPCMESSAGE__TYPE_INVOKE_REQUEST: {
if (handle_remote_invoke_messages(client, request) < 0) {
c_log_err("Could not honor remote_invoke");
client_reply_error(client->transport, "Could not honor Remote Invoke");
return NULL;//Perhaps should be exit()?
c_log_err("ERROR:%s:Could not honor remote_invoke request");
}
break;
......@@ -149,7 +147,6 @@ void *intercomm_rpc_server_handler(void *thread_data) {
free(client);
clock_gettime(CLOCK_REALTIME, &timespec);
c_log_debug("DEBUG:%s:%lu.%lu:End", __func__, timespec.tv_sec, timespec.tv_nsec);
return NULL;//Perhaps should be exit()?
}
void* intercomm_rpc_server_start(void* server_socket) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment