--- libaitrpc/src/srv.c 2013/07/15 14:54:40 1.16.2.3 +++ libaitrpc/src/srv.c 2013/07/15 15:10:38 1.16.2.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: srv.c,v 1.16.2.3 2013/07/15 14:54:40 misho Exp $ +* $Id: srv.c,v 1.16.2.4 2013/07/15 15:10:38 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -629,7 +629,7 @@ rxBLOB(sched_task_t *task) break; case set: if ((b = rpc_srv_registerBLOB(s, ntohl(blob.hdr_len), - ntohl(blob.hdr_ret), task))) { + ntohl(blob.hdr_ret), c))) { /* set new BLOB variable for reply :) */ blob.hdr_var = htonl(b->blob_var); @@ -646,9 +646,6 @@ rxBLOB(sched_task_t *task) blob.hdr_cmd = error; blob.hdr_ret = RPC_ERROR(-1); } - - schedCancelby(TASK_ROOT(task), taskTIMER, CRITERIA_DATA, - (void*) (intptr_t) ntohl(blob.hdr_var), NULL); break; default: rpc_SetErr(EPROCUNAVAIL, "Unsupported BLOB command %d", blob.hdr_cmd);