summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-03-03 15:07:06 +0000
committerSander Vrijders <[email protected]>2017-03-03 15:07:06 +0000
commit80dcc9aae225de1228347b91eb114b3e40022623 (patch)
treee59f435fb85c973745664497eb7034990f20dccc /src/lib
parent6fc6701774f59288fe7306fa3e0a51fd460e2e01 (diff)
parent91b0c782525151885d304a49f78e03a0eed26ea5 (diff)
downloadouroboros-80dcc9aae225de1228347b91eb114b3e40022623.tar.gz
ouroboros-80dcc9aae225de1228347b91eb114b3e40022623.zip
Merged in dstaesse/ouroboros/be-cdap (pull request #399)
lib: Fix typo in cdap
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cdap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cdap.c b/src/lib/cdap.c
index 86554dd2..32169c1b 100644
--- a/src/lib/cdap.c
+++ b/src/lib/cdap.c
@@ -297,7 +297,7 @@ static void * sdu_reader(void * o)
cdap__free_unpacked(msg, NULL);
continue;
}
- memcpy(data.data, msg->value.data Iata.len);
+ memcpy(data.data, msg->value.data, data.len);
} else {
data.len = 0;
data.data = NULL;
@@ -606,12 +606,12 @@ cdap_key_t * cdap_request_send(struct cdap * instance,
struct cdap_req * r =
cdap_sent_get_by_key(instance,
*(--key));
- release_invoke_id(instance, iid);
cdap_sent_del(instance, r);
release_invoke_id(instance,
key_to_invoke_id(r->key));
cdap_req_destroy(r);
}
+ release_invoke_id(instance, iid);
free(keys);
return NULL;
}