summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-08-29 10:46:10 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-08-29 10:48:07 +0200
commitbb2e24baf3f05c03450defd4c22a8a1279698bb1 (patch)
treea9dbfceba99190181f0d427fb98bb964031d9548 /src/lib
parent0c41273687df7aaebf8b749a89d4c2ab328bf4c1 (diff)
downloadouroboros-bb2e24baf3f05c03450defd4c22a8a1279698bb1.tar.gz
ouroboros-bb2e24baf3f05c03450defd4c22a8a1279698bb1.zip
lib, cdap: Fix message handler
When getting a DELETE opcode, create was called instead of delete.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cdap.c2
1 files changed, 1 insertions, 1 deletions
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,