From bb2e24baf3f05c03450defd4c22a8a1279698bb1 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Mon, 29 Aug 2016 10:46:10 +0200 Subject: lib, cdap: Fix message handler When getting a DELETE opcode, create was called instead of delete. --- src/lib/cdap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/cdap.c b/src/lib/cdap.c index df2128a0..8b1b3bc6 100644 --- a/src/lib/cdap.c +++ b/src/lib/cdap.c @@ -107,7 +107,7 @@ static void * handle_cdap_msg(void * o) case OPCODE__DELETE: if (msg->name != NULL && msg->has_value) - instance->ops->cdap_create(instance, + instance->ops->cdap_delete(instance, msg->invoke_id, msg->name, msg->value.data, -- cgit v1.2.3