]> rtime.felk.cvut.cz Git - frescor/forb.git/blobdiff - src/exec_req.c
Struct request adjusted for inter-executor invocation.
[frescor/forb.git] / src / exec_req.c
index 2f84c103357c72977875b70d93b45208bd6c9a06..5e1a805a418cfde64ec78c8c929fe3d1ade2039f 100644 (file)
@@ -95,7 +95,7 @@ void forb_exec_req_process(forb_exec_req_t *exec_req)
                                         &env);
 
        // The local invocation case
-       if ((exec_req->request_type = FORB_EXEC_REQ_LOCAL)) {
+       if (exec_req->request_type == FORB_EXEC_REQ_LOCAL) {
                forb_request_t *request = exec_req->input_request;
                forb_executor_t *executor = exec_req->obj->executor;